[rescue] Speaking of backups, scripting division

Sheldon T. Hall shel at cmhcsys.com
Sun Nov 10 15:38:03 CST 2002


"Greg A. Woods" <woods at weird.com> said

> [ 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

Ummm, that doesn't tell me the _date_ of the next scheduled backup; I'd like
to have the real date so I can e-mail a reminder.

Thanks, though.

-Shel



More information about the rescue mailing list