Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


problems running cron jobs

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Author Message
mnl



Joined: 03 Apr 2004
Posts: 2

Posted: Sun Aug 29, 2004 11:08 pm    Post subject: problems running cron jobs  

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?
Back to top  
SteveG



Joined: 30 Nov 2003
Posts: 232

Posted: Mon Aug 30, 2004 3:34 pm    Post subject:  

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
#
Back to top  
 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Page 1 of 1