Jianping Zhu wrote:
I have redhat 7.3 server the /etc/crontab is as followingHello,
.................................-------------------------
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