date >> /tmp/mycron.log; /usr/bin/perl /share/script/Test/report.pl
Change the semicolon to && since cron executes only one command per entry:
*/5 * * * * date >> /tmp/mycron.log && /usr/bin/perl /share/script/Tes +t/report.pl
update: wrong test - as haukex writes below, cron takes the rest of the line as one command.
In reply to Re: Perl cron job not running
by shmem
in thread Perl cron job not running
by chefchanyu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |