i need help for perl script.
My crob job set as following, i tested on command list working fine. date >> /tmp/mycron.log is running but perl script don't run.
0,5,10,15,20,25,30,35,40,45,50,55 * * * * date >> /tmp/mycron.log; /usr/bin/perl /share/script/Test/report.plcron log:
Jul 19 12:30:01 Danny CROND[9154]: (root) CMD (date >> tmp/mycron.log; + perl /share/script/Test/report.pl /share/script/Test/file/ltm_all_no +n_prod) Jul 19 12:30:01 Danny CROND[9155]: (root) CMD (/usr/lib64/sa/sa1 1 1) Jul 19 12:40:01 Danny CROND[9200]: (root) CMD (/usr/lib64/sa/sa1 1 1) Jul 19 12:44:05 Danny crontab[9221]: (root) LIST (root) Jul 19 12:45:01 Danny CROND[9228]: (root) CMD (date >> tmp/mycron.log; + perl /share/script/Test/report.pl /share/script/Test/file/ltm_all_no +n_prod) Jul 19 12:45:30 Danny crontab[9249]: (root) BEGIN EDIT (root) Jul 19 12:46:11 Danny crontab[9249]: (root) REPLACE (root) Jul 19 12:46:11 Danny crontab[9249]: (root) END EDIT (root) Jul 19 12:46:43 Danny crontab[9265]: (root) LIST (root) Jul 19 12:47:01 Danny crond[1403]: (root) RELOAD (/var/spool/cron/root +) Jul 19 12:47:01 Danny CROND[9271]: (root) CMD (date >> /tmp/mycron.log +; perl /share/script/Test/report.pl /share/script/Test/file/ltm_all_n +on_prod) Jul 19 12:48:14 Danny crontab[9293]: (root) BEGIN EDIT (root) Jul 19 12:48:21 Danny crontab[9293]: (root) REPLACE (root) Jul 19 12:48:21 Danny crontab[9293]: (root) END EDIT (root) Jul 19 12:49:01 Danny crond[1403]: (root) RELOAD (/var/spool/cron/root +) Jul 19 12:49:01 Danny CROND[9309]: (root) CMD (date >> /tmp/mycron.log +; perl /share/script/Test/report.pl /share/script/Test/file/ltm_all_n +on_prod) Jul 19 12:50:01 Danny CROND[9363]: (root) CMD (/usr/lib64/sa/sa1 1 1) Jul 19 12:52:22 Danny crontab[9384]: (root) BEGIN EDIT (root) Jul 19 12:52:32 Danny crontab[9384]: (root) REPLACE (root) Jul 19 12:52:32 Danny crontab[9384]: (root) END EDIT (root) Jul 19 12:53:01 Danny crond[1403]: (root) RELOAD (/var/spool/cron/root +) Jul 19 12:53:01 Danny CROND[9391]: (root) CMD (date >> /tmp/mycron.log +; perl /share/script/Test/report.pl /share/script/Test/file/ltm_all_n +on_prod)
In reply to Perl cron job not running by chefchanyu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |