LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cron problems with perl (https://www.linuxquestions.org/questions/linux-newbie-8/cron-problems-with-perl-292986/)

slice 02-21-2005 10:45 AM

Cron problems with perl
 
Hello, I have a perl script that runs just fine when run manually..

So I put a line in crontab for it
0 2 * * * * /home/slice/bin/rmd/rmd.pl

But cron reports the following error by mail

Subject: Cron <slice@diablo> * /home/slice/bin/rmd/rmd.pl

X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/slice>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=slice>

/bin/sh: line 1: 891: command not found

----
line 1 of rmd.pl is the standard
#!/usr/bin/perl

Whats happening here??? Can someone please suggest what could be going wrong?

TIA,
slice

slice 02-21-2005 10:49 AM

duh!! never mind.. extra * in crontab.. I knew it was somethin stupid.. grrr.. :mad:


All times are GMT -5. The time now is 08:33 AM.