[rescue] Speaking of backups, scripting division
Greg A. Woods
woods at weird.com
Sun Nov 10 15:03:47 CST 2002
[ On Sunday, November 10, 2002 at 14:20:49 (-0500), Sheldon T. Hall wrote: ]
> Subject: [rescue] Speaking of backups, scripting division
>
> Is there an easy way to turn a crontab entry into something a little easier
> on the eyes? Specifically, I want to turn the minute-hour-day part of a
> crontab line into a date.
>
> For example, I have a line in root's crontab that reads
>
> 59 02 * * 3 /usr/local/bin/backup_automatic
Why not just add a comment header on the table!?!?!?
# (note that on BSD there's an additional "user" field in the system
# crontab file)
#
#minute hour mday month wday user command
#
*/10 * * * * root /usr/libexec/atrun
--
Greg A. Woods
+1 416 218-0098; <g.a.woods at ieee.org>; <woods at robohack.ca>
Planix, Inc. <woods at planix.com>; VE3TCP; Secrets of the Weird <woods at weird.com>
More information about the rescue
mailing list