Cron script not working

Read important announcements about Group-Office here

Moderator: Developers

dataline
Posts: 1
Joined: Thu Jan 15, 2015 9:43 am

Cron script not working

Postby dataline » Thu Jan 15, 2015 9:46 am

I ran cron script from command line and got this error:

php54-cli ./groupofficecli.php -c=./config.php -r=core/cron/run -q
<h1>404 Not found</h1><p>Controller('GO\Core\Controller\CronController') not found: [EMPTY QUERY_STRING] array (
)</p>
Fatal error: Class 'GO\Core\Controller\CronController' not found in /home/c001/public_html/go.dl.pl/go/base/Router.php on line 158


with full paths the same:

php54-cli /home/c001/public_html/go.dataline.pl/groupofficecli.php -c=/home/c001/public_html/go.dl.pl/config.php -r=core/cron/run -q
<h1>404 Not found</h1><p>Controller('GO\Core\Controller\CronController') not found: [EMPTY QUERY_STRING] array (
)</p>
Fatal error: Class 'GO\Core\Controller\CronController' not found in /home/c001/public_html/go.dl.pl/go/base/Router.php on line 158

Anyone can help?
mschering
Site Admin
Site Admin
Posts: 8154
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: Cron script not working

Postby mschering » Mon Feb 09, 2015 7:23 pm

Are you running the latest version?
Best regards,

Merijn Schering
Intermesh
simerjit
Posts: 5
Joined: Fri May 06, 2016 6:40 am

Re: Cron script not working

Postby simerjit » Wed Jun 01, 2016 9:15 am

Facing the same issue:

Group-Office CLI - Copyright Intermesh BV.

Code: Select all

<h1>404 Not found</h1><p>Controller('GO\1\Controller\DefaultController') not found: [EMPTY QUERY_STRING] array (
)</p>
Fatal error: Class 'GO\1\Controller\DefaultController' not found in /home/reztech3/public_html/SQF/go/base/Router.php on line 158


Please let me know where is the issue? How to resolve it?
jkosick
Posts: 15
Joined: Fri Sep 18, 2015 9:18 pm

Re: Cron script not working

Postby jkosick » Thu Jun 09, 2016 1:47 am

DId you try this if you are running cpanel?

/usr/local/bin/php /home/USER/public_html/groupofficecli.php -c=/home/USER/public_html/config.php -r=core/cron/run -q >/dev/null 2>&1



USER is your cpanel user and the "/usr/local/bin/php" is your hosts direct path to php, your may be different. Ask you host.

Return to “Announcements”

Who is online

Users browsing this forum: No registered users and 2 guests

cron