chefchanyu has asked for the wisdom of the Perl Monks concerning the following question:
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)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl cron job not running
by haukex (Archbishop) on Jul 20, 2016 at 07:25 UTC | |
|
Re: Perl cron job not running
by soonix (Chancellor) on Jul 20, 2016 at 11:01 UTC | |
|
Re: Perl cron job not running
by RonW (Parson) on Jul 20, 2016 at 00:23 UTC | |
by chefchanyu (Novice) on Jul 20, 2016 at 00:34 UTC | |
|
Re: Perl cron job not running
by Anonymous Monk on Jul 19, 2016 at 23:57 UTC | |
by chefchanyu (Novice) on Jul 20, 2016 at 00:02 UTC | |
by Anonymous Monk on Jul 20, 2016 at 00:15 UTC | |
|
Re: Perl cron job not running
by Marshall (Canon) on Jul 20, 2016 at 01:25 UTC | |
by shmem (Chancellor) on Jul 20, 2016 at 08:26 UTC | |
by chefchanyu (Novice) on Jul 20, 2016 at 01:38 UTC | |
|
Re: Perl cron job not running
by shmem (Chancellor) on Jul 20, 2016 at 08:37 UTC | |
by haukex (Archbishop) on Jul 20, 2016 at 08:47 UTC | |
by shmem (Chancellor) on Jul 20, 2016 at 15:21 UTC | |
by haukex (Archbishop) on Jul 20, 2016 at 17:28 UTC |