2

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?

shantanuo
  • 3,459
  • 8
  • 47
  • 64

1 Answers1

1

looking at the log it was clear that the cron DID run. User cron could not overwrite a file created by root cron

shantanuo
  • 3,459
  • 8
  • 47
  • 64