Index

Subject : LUG: Anything wrong with this cron entry?

From : "Daniel Underwood" <daniel.underwood@ncsu.[redacted]>

Date : Wed, 05 Oct 2011 15:11:22 -0400


Folks,

For some reason, the "/usr/bin/rsnapshot monthly" entry in the cron
listing below was not executed on this past October 1st. It's supposed
to be executed once a month on the first day of the month. (I added
the monthly run just a few days prior to October 1st, so I don't have
any history of it working.) Does anyone see a problem with the cron
listing below?

[BEGIN TEXT FROM CRON]
# m h dom mon dow command
0 * * * * /usr/bin/rsnapshot hourly
30 23 * * * /usr/bin/rsnapshot daily
0 0 1 * * /usr/bin/rsnapshot monthly
[END TEXT FROM CRON]

The relevant portion of my system log for October 1st:

[BEGIN TEXT FROM LOG]
Oct 1 00:00:02 pc15-373 rsnapshot[31642]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 01:00:02 pc15-373 rsnapshot[31680]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 02:00:02 pc15-373 rsnapshot[31716]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 03:00:02 pc15-373 rsnapshot[31752]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 04:00:02 pc15-373 rsnapshot[31788]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 05:00:02 pc15-373 rsnapshot[31824]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 06:00:02 pc15-373 rsnapshot[31860]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 07:00:02 pc15-373 rsnapshot[31903]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 07:48:00 pc15-373 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="847" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Oct 1 08:00:02 pc15-373 rsnapshot[13705]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 09:00:02 pc15-373 rsnapshot[13741]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 10:00:02 pc15-373 rsnapshot[13777]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 11:00:02 pc15-373 rsnapshot[13813]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 12:00:02 pc15-373 rsnapshot[13849]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 13:00:02 pc15-373 rsnapshot[13885]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 14:00:02 pc15-373 rsnapshot[13921]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 15:00:02 pc15-373 rsnapshot[13957]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 16:00:02 pc15-373 rsnapshot[13993]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 17:00:02 pc15-373 rsnapshot[14031]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 18:00:02 pc15-373 rsnapshot[14067]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 19:00:01 pc15-373 rsnapshot[14103]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 20:00:02 pc15-373 rsnapshot[14139]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 21:00:02 pc15-373 rsnapshot[14175]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 22:00:02 pc15-373 rsnapshot[14211]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 23:00:02 pc15-373 rsnapshot[14247]: /usr/bin/rsnapshot hourly: completed successfully
Oct 1 23:30:01 pc15-373 rsnapshot[14268]: /usr/bin/rsnapshot daily: completed successfully
[END TEXT FROM LOG]

Thanks,
Daniel
--
Daniel Underwood
North Carolina State University
PhD Student - Industrial Engineering
email: daniel.underwood@ncsu.[redacted]
phone: XXX.302.3291
fax: XXX.515.5281
web: http://www4.ncsu.edu/~djunderw/



Replies :