At 29 August, 2003 Stephen Liu wrote: > Hi Peter, > > Thanks for your advice. > > $ cat /etc/crontab > SHELL=/bin/bash > PATH=/sbin:/bin:/usr/sbin:/usr/bin > MAILTO=root > HOME=/ > > # run-parts > 01 * * * * root run-parts /etc/cron.hourly > 02 4 * * * root run-parts /etc/cron.daily > 22 4 * * 0 root run-parts /etc/cron.weekly > 42 4 1 * * root run-parts /etc/cron.monthly > > > Shall I retain the above and add > > MAILTO=<normal user> > # do rsync backup nightly > 0 1 * * * /usr/local/bin/my-rsync > > Kindly advise. Thanks in advance.
No. Use /etc/cron.daily. (Look in the directory; any files set +x will be run daily. Root's crontab should not be modified, really.) -- Andrew Farmer [EMAIL PROTECTED]
pgp00000.pgp
Description: PGP signature
