Thanks but neither wget or curl works per your examples copying the URL from the CBSubs>Settings>Global section. I get the following in my email from the cPanel initiated cron job.
"Invalid mass-expiry link: link is in global CBSubs settings."
Here's the two calls I configured:
wget -O - -q -t 1 "
www.marylandshallissue.org/jmain/index.php?option=com_comprofiler&task=pluginclass&plugin=cbpaidsubscriptions&do=massexpire&key=
&format=raw"
curl -s "
www.marylandshallissue.org/jmain/index.php?option=com_comprofiler&task=pluginclass&plugin=cbpaidsubscriptions&do=massexpire&key=
&format=raw"
Tried to take out the quotes and I get what appears to be a dump of the php code. This tells me it's trying to wget or curl as I would via command line.
UPDATE:
In the cPanel CRON page, there's some instructions on running PHP scripts as follows:
"PHP command examples:
General example:
/usr/local/bin/php /home/domain/public_html/path/to/cron/script
Domain-specific example:
/usr/local/bin/ea-php56 /home/domain/domain_path/path/to/cron/script
In the above example, replace “ea-php56” with the PHP version assigned to the domain you wish to use. Look in the MultiPHP Manager for the actual PHP version assigned to a domain."
I'm thinking this might work but need some help in parsing out the parameters for index.php for this script to run.
UPDATE 2:
I did SSH into the site and ran both wget and curl and it appears that something is happening. I also get a dump here if I leave off the quotes and get this at the end:
"[1] Done curl -s
www.marylandshallissue.org/jmain/index.php?option=com_comprofiler
[2] Done task=pluginclass
[3] Done plugin=cbpaidsubscriptions
[4]- Done do=massexpire
[5]+ Done key=<some key value>"
This is telling me that index.php is running correctly and running the CB/CBSubs scripts under comprofiler. Then again I could be barking up the wrong tree but thought this might be helpful.