Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-21-2005, 10:45 AM   #1
LQ Newbie
Registered: Aug 2004
Distribution: FC2, RH9, Suse, knoppix
Posts: 12

Rep: Reputation: 0
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/

But cron reports the following error by mail

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

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 is the standard

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

Old 02-21-2005, 10:49 AM   #2
LQ Newbie
Registered: Aug 2004
Distribution: FC2, RH9, Suse, knoppix
Posts: 12

Original Poster
Rep: Reputation: 0
duh!! never mind.. extra * in crontab.. I knew it was somethin stupid.. grrr..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron Email Notification - Perl Script jamesyreid Programming 3 07-21-2009 07:56 AM
Cron and Perl question eagle683 Programming 3 07-30-2005 08:28 PM
Trouble with perl script in Cron job thack111 Linux - General 7 11-25-2004 02:44 AM
Cron Mystery / Perl webwiznz Linux - General 2 05-23-2004 06:11 PM
how to make a cron entry? (perl) akaash Programming 2 05-06-2004 02:15 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration