Hi Andrew, Thanks for your advice.
On Fri, 2003-08-29 at 10:21, Andrew Farmer wrote: > > > > $ 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 > > > 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.) # ls /etc/cron.daily/ 00-logwatch logrotate rpm tetex.cron 0anacron makewhatis.cron slocate.cron tmpwatch # cat /etc/cron.daily/0anacron #!/bin/sh # # anacron's cron script # # This script updates anacron time stamps. It is called through run-parts # either by anacron itself or by cron. # # The script is called "0anacron" to assure that it will be executed # _before_ all other scripts. anacron -u cron.daily I could not discover "any files set +x" Thanks B.Regards Stephen To Get Your Own iCareHK.com Email Address? Go To www.iCareHK.com. -- [EMAIL PROTECTED] mailing list