Assuming that the required script even exists, rewrite lines 11 & 12 lise so:
10 12 * * * /home/jzhu/pl/p1.pl > /home/jzhu/o1.dat
10 12 * * * echo "jzhu" > /home/jzhu/jzhu.dat
Then they should work just fine. There are a couple of "typos" in them as presented below.
Cheers
Ric
Jianping Zhu wrote:
Thanks, i checked as you indicated. but it is still not working.
On Thu, 16 Jan 2003, Bart Schelstraete wrote:
Jianping Zhu wrote:Hello,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
a) Check the permissions of those file, and make sure that they are executable.
#> chmod +x /usr/local/pubcrawler/pubcrawler
b) Make sure that you're using the correct interpretor.
To check this, edit that file and check the FIRST line. It should contain something like:
#!/usr/bin/perl
rgrds,
Bart
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list
--------------------------------
Jianping Zhu
Department of Computer Science
Univerity of Georgia Athens, GA 30602
Tel 706 5423900
--------------------------------
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list