what is cron schedule
How do I find out what crons I have and when they are running?
What day of the week is the cron scheduled to run to write the names of files with .bak extensions to a logfile? |
If /var is mounted on its own partition you can use df, otherwise du. It's me or is the title of this thread not related with your question?
|
To see the list of cronjobs and when they are scheduled run the command "crontab -l". The fields are:
Min, Hour, Day of Month, Month, Day of Week, Command. Most of the fields are combined with AND, however the Day of Month and Day of Week fields are combined with OR. So if you have something like: Code:
00 0 1-7 * 5 echo "First Friday of the Month" It is basically saying: if ((MIN == 00) && (HOUR == 0) && (MONTH is any) && ((DOM < 7) || (DOW == 5))) run the command. As far as when certain things are run on YOUR system, I'd have to see the output of "crontab -l" to know. HTH Forrest |
Quote:
|
Thanks for the help!
This newbie learned another command. I used the crontab -1 command and found the cron I was looking for.
|
You may have been drunk
Quote:
If you are drunk -- I am jealous. |
All times are GMT -5. The time now is 01:49 AM. |