|

08-16-2011, 01:43 AM
cron jobs are executed based on the server root file system,
not public_html directory. So, the path for included or required
files should be expressed in absolute path as follows:
require_once("/home/a******/public_html/folder/EasyBotter.php"); //changed later
For frequency setting, I recommend not to set 0 for minutes
and hours, which did not work when I tested in the past.
With the same code, when I set the frequency with */5 * * * *
it worked fine.
After changing your code as suggested above, if the cron job still does not
work, please set the permission of 'folder' and 'cron.php' to 0777.
Last edited by grace1004; 08-16-2011 at 10:49 PM.
|