On Tue, 2002-12-10 at 21:18, Jianping Zhu wrote: > ect/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-oarts /etc/cron.daily > 22 4 * * 0Hroot run-parts /etc/cron.weekly > 42 4 1 * * root run-parts /etc/cron.monthly > 0,5,10,15,20,25,30,35,40,45,50 * * * * (echo""; date; echo"")>/dev/console > --------------------------------------------------------- > > I suppose the date will be print on sceen every 5 minute, but it did not. > why? > Thanks > Three possible reasons,
one in the line for weekly, remove the "H" between the "0" and the "root" two, on the last line try */5 instead of 0,5,10,15,20,25,30,35,40,45,50 and you missed 55 BTW. three, try this command echo -ne "\n`date`\n\n" > /dev/console instead of (echo""; date; echo"")>/dev/console -Ben. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list