Hi,
We installed Group Office script, setup cronjob for it. But their cronjob script warns us
"ERROR: This script must be run on the command line."
our cronjob entry is
* * * * * php /home/officela/public_html/groupofficecli.php -c=/home/officela/public_html/config.php -r=core/cron/run -q
I tried to run via ssh and there is no problem.
php /home/officela/public_html/groupofficecli.php -c=/home/officela/public_html/config.php -r=core/cron/run -q
I asked Group Office support they told me that our cronjob is not running PHP_SAPI as CLI.
Is there a fix or config cronjob php run as CLI?
We installed Group Office script, setup cronjob for it. But their cronjob script warns us
"ERROR: This script must be run on the command line."
our cronjob entry is
* * * * * php /home/officela/public_html/groupofficecli.php -c=/home/officela/public_html/config.php -r=core/cron/run -q
I tried to run via ssh and there is no problem.
php /home/officela/public_html/groupofficecli.php -c=/home/officela/public_html/config.php -r=core/cron/run -q
I asked Group Office support they told me that our cronjob is not running PHP_SAPI as CLI.
Is there a fix or config cronjob php run as CLI?