RE: Cronjob not working in Sentora 1.0.3 (Ubuntu 14.04)
12-10-2015, 09:30 AM
(This post was last modified: 12-10-2015, 09:36 AM by solidgeek.)
(12-10-2015, 08:45 AM)TGates Wrote: If your daemon is running every 5 mins, chances are good the job is being run. You should take a look at the logs and the domain's error log to see if any errors are popping up. It may be running the task, but not completing it due to an error. (Short tags, misconfigured path or failed DB connection, etc.)
Thanks for your quick answer! I have checked the deamon and it runs every 5 minute. I have checked the script for errors, and it is working just fine.
I'm not sure how to check every log, or which I should check, but I have looked in /var/sentora/logs/sentora.log, sentora-errors.log and sentora-access.log and none of them are indicating some kind of error.
Any ideas? I am kind of a newbie to this command-line thing, yet!
EDIT: I found this command
Code:
grep CRON /var/log/syslog
on your docs, to read the cronlog. And I found something interesting! It does indeed run the cronjob every minute.