Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Aug 30, 2004 12:08 am 
Offline
Newbie

Joined: Sat Apr 03, 2004 9:46 pm
Posts: 2
hi.

i'm trying to setup a cron job to run a php script. for testing i made a job to run the script every 5 minutes, but it isn't running at all, ever.

i used the "crontab -e" command as root to edit my crontab and added this line (name of actual script edited out)

*/5 * * * * /usr/bin/script

i run this script manually all the time and it works perfectly.

am i missing something?


Top
   
 Post subject:
PostPosted: Mon Aug 30, 2004 4:34 pm 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
Debian, possibly? Are you using an "text" editor that doesn't automatically append a newline? Trying adding a comment line after your script line, e.g.

Code:
*/5 * * * * /usr/bin/script
#

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.
-- seen on the net


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group