-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 16 Jan 2003 12:07:38 -0500 (EST), Jianping Zhu wrote:
> I have redhat 7.3 server the /etc/crontab is as following > .................................------------------------- > SHELL=/bin/bash > PATH=/sbin:/bin:/usr/sbin:/usr/bin > MAILTO=root > HOME=/ > # run-parts > 01 * * * * root run-parts /etc/cron.houily > 2 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 > 10 12 * * 1-5 root /usr/local/pubcrawler/pubcrawler #line10 > 10 12 * * * * root /home/jzhu/pl/p1.pl>/home/jzhu/o1.dat #line11 > 10 12 * * * * root echo "jzhu>/home/jzhu/jzhu.dat #line12 > ---------------------------------------------------------------- > Line12 works fine, line10, line11 does not work. pubcrawler , p1.pl > are script files .If > i do not use crontab. i type /usr/local/pubcrawler/pubcrawler or > /home/jzhu/pl/p1.pl>/home/jzhu/o1.dat from commnad line, both > work. how to fix the problem to let /etc/crontab work properly? Too many leading fields in lines 10-12. Four asterisks. should be only three. Time and date fields in cron tabs have four fields, not six. - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+JvQd0iMVcrivHFQRAjw2AJ4kBEpJ/MahACWCFIe9mR/3XhyH8wCdH8g5 gzbEDijFgMdAtQHTbcvIVx4= =rmfC -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list