On Thu, Jul 17, 2003 at 10:13:48AM +1200, G. M. Bodnar wrote:
> needs to be (depending on how you're doing your backups).  This can be
> put in /etc/crontab as a user entry or use "sudo backup; crontab -e".

I'll just elaborate on that... people are aware, that /etc/crontab is
special in that it has an extra field?

from crontab(5)

EXAMPLE SYSTEM CRON FILE
       This has the username field, as used by /etc/crontab.
       ...
       # This file also has a username field, that none of the other
       # crontabs do
       ...
       42 6 * * *        root    run-parts --report /etc/cron.daily

etc etc.

(I also think that using run-parts, as Debian does, is quite elegant. makes
for a small crontab, and doesnt get ruined by other applications needing to
add cronjobs... they just drop a script in the relevant directory... (or
/etc/cron.d, where a crontab style file can be placed - Which also accept
the username field)

Mike.
-- 
Mike Beattie <[EMAIL PROTECTED]>                      ZL4TXK, IRLP Node 6184

         Never put off until tomorrow what you can avoid altogether.

Reply via email to