Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what is wrong with my cron job? 1

Status
Not open for further replies.

ilpadrino

MIS
Feb 14, 2001
416
US
I cannot get cron to run at all. I have debian and have tried using crontab with root and my user account with no success. The job never runs as scheduled. I've tried restarting /etc/init.d/cron, rebooting, killing. There was not even a cron.log in /var/log, so I never get an error message. Does anyone have any idea what I'm doing wrong? Here is my cron statement written for root:

*/5 * * * * root /bin/bash /var/
Thanks in advance.
Joe.
 
Chacalinc, that was it. I guess I assumed execute was automatic when I created the script. So I don't need the /bin/bash, and I also took off the user, so it runs under my login. Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top