This object is in archive! 
Cron: Which code to use for free version?
I need to set up cron for the free version, according to:
- */5 * * * * /usr/bin/curl -s "/fullpath/tasks/frequently/code/G6S1" > /dev/null
- 1 * * * * /usr/bin/curl -s "/fullpath/tasks/hourly/code/G6S1" > /dev/null
- 0 04 * * * /usr/bin/curl -s "/fullpath/tasks/daily/code/G6S1" > /dev/null
Which code do I use for this case instead of G6S1?
(I tried calling /fullpath/tasks/frequently.php from a php script, but there is no output and the job does not execute.)
The issue is fixed. Please redownload Free 2.0.1 package. Now cron works fine.
Just take the code from Scheduled Jobs and launch it. You should have curl enabled on server.
The issue is fixed. Please redownload Free 2.0.1 package. Now cron works fine.
Just take the code from Scheduled Jobs and launch it. You should have curl enabled on server.
PS: Managed to enable error reporting, output is:
Notice: Trying to get property of non-object in /.../library/Useresponse.php on line 172
Notice: Trying to get property of non-object in /.../library/Useresponse.php on line 230
Fatal error: Class 'System_Model_User' not found in /.../tasks/init.php on line 50
PS: Managed to enable error reporting, output is:
Notice: Trying to get property of non-object in /.../library/Useresponse.php on line 172
Notice: Trying to get property of non-object in /.../library/Useresponse.php on line 230
Fatal error: Class 'System_Model_User' not found in /.../tasks/init.php on line 50
The issue is fixed. Please redownload Free 2.0.1 package. Now cron works fine.
Just take the code from Scheduled Jobs and launch it. You should have curl enabled on server.
The issue is fixed. Please redownload Free 2.0.1 package. Now cron works fine.
Just take the code from Scheduled Jobs and launch it. You should have curl enabled on server.
Frequently and hourly work fine now, Events Statistics show the last time of execution.
For daily I get the error message:
Unable to Connect to tcp://submissions.ask.com:80. Error #0: php_network_getaddresses: getaddrinfo failed: Name or service not known
Events Statistics show daily jobs as never executed.
Frequently and hourly work fine now, Events Statistics show the last time of execution.
For daily I get the error message:
Unable to Connect to tcp://submissions.ask.com:80. Error #0: php_network_getaddresses: getaddrinfo failed: Name or service not known
Events Statistics show daily jobs as never executed.
@EcoBurma,
We couldn't reproduce that bug and if you have CURL installed your daily jobs will start automatically.
Also the reason you don't have it working is that allow_url_fopen is set to 0 in your php.ini, but it should be 1
@EcoBurma,
We couldn't reproduce that bug and if you have CURL installed your daily jobs will start automatically.
Also the reason you don't have it working is that allow_url_fopen is set to 0 in your php.ini, but it should be 1
Replies have been locked on this page!