Knowledge Base
Knowledge Base / XFilesharing Pro / Troubleshooting

Advanced Search

Error: cron.pl have not been running for XX hours
03/13/2014 10:30 AM
Printable Version | Email Article | Receive Email Updates

Question

I already added it in cronjob as specified in INSTALL.TXT, but still getting bothered by this message box in admin_settings. Of course, it dissapears for a while after running manually. What should I do?

Answer

The most common reasons that are preventing a cronjob from being run are:

1) You didn't replaced '/var/www/cgi-bin' with an actual CGI path (can find it in XFileConfig.pm)
2) You have changed a cronjob so that it's now looking as '/var/www/cgi-bin/cron.pl' rather than 'cd /var/www/cgi-bin;./cron.pl'
3) The cron daemon is not actually running