LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   cron job: day of month / day of week conflict? (http://www.linuxquestions.org/questions/linux-general-1/cron-job-day-of-month-day-of-week-conflict-763281/)

geekpie 10-20-2009 04:14 PM

cron job: day of month / day of week conflict?
 
If I set a cron job up as

1 1 * * fri

isn't there a conflict because I'm telling it to run every day of the month, but at the same time only on a friday?

Similarly with

1 1 1 * *

I'm telling it to run on the first of the month, but at the same time to run every day of the week?

chrism01 10-21-2009 03:13 AM

1.

1 1 * * fri

means 01:01 am, any day-of-mth, any mth, only on a Friday

2.


1 1 1 * *

means 01:01 am, only on 1st mth, any mth, any day of week

http://www.adminschoice.com/docs/cro...Crontab%20file

geekpie 10-21-2009 04:56 AM

OK thanks.


All times are GMT -5. The time now is 01:03 PM.