my cron jobs are executed half an hour later than when they are supposed to. Does cron refer to the system time when it executes its jobs or refers to its own time(if it has one)?
Asked
Active
Viewed 595 times
2 Answers
1
Yes, cron will run at the system time, which might be different to yours.
echo $TZ
and compare that to /etc/TIMEZONE
Or the time might be wrong, have you configured ntp?
to check:
/usr/sbin/ntpq -c peers

Sirch
- 5,785
- 4
- 20
- 36