I have set up a cron to run at every 26th minute.
$ crontab -l
26 * * * * date > /home/time.txt 2> /home/time_err.txt
The current time shown by date command.
$ date
Thu Aug 25 23:26:00 CDT 2011
The cron runs as expected but when I add the hour field to the cron, it does not work.
42 23 * * * date > /home/time.txt 2> /home/time_err.txt
Recently the system Admin changed the timezone of this server to CDT from EST. Is the cron problem because of that? How do I correct this?
time.txt
is wrong?/var/log/cron
to make sure that cron is not running?