can not run cron
i m nood last week install rhel 5.2
i want to know how to use crontab so i do this crontab -e (from root ) type Quote:
|
Where do you expect it is displayed? Crontab does not allocate a pseudo-terminal and all the standard output and standard error is sent to the system mail by default, unless you explicitly redirect them to a file (or to /dev/null). Check the root's mail: most likely you have tons of mails with the standard output from the cron jobs.
|
Quote:
|
problem cron not working
Quote:
i got ur problem that ur testing cron u may miss chkconfig crond on and service crond restart if still problem verfy the ancron |
i check root mail by typing
Quote:
i also try Quote:
|
The correct way to look at mail would be simply
Code:
mail |
Quote:
|
I re-read your first post and I noticed that you stated
Quote:
Code:
*/5 * * * * date |
Here's a more user-friendly guide: http://www.adminschoice.com/docs/cro...Crontab%20file
|
thanks
thanks dude u solve my problem :)
thread is closed now |
All times are GMT -5. The time now is 01:55 PM. |