Crontab won't run scheduled commands. (Debian 6)
I used the crontab command to run a task every minute.
the crontab for my user looks like this: Code:
* * * * * echo "Hello World" |
How do you tell it's not working? Since the cron job doesn't redirect standard output to a file, it will be sent to the user's mailbox by default. Have you checked it?
If the user did not received any mail, first you have to establish if the cron daemon is running (as root) Code:
# /etc/init.d/crond status Code:
# ps -C crond Code:
Nov 24 09:00:01 host CROND[30691]: (user) CMD (echo "Hello World") |
Quote:
|
All times are GMT -5. The time now is 11:37 PM. |