Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-27-2011, 11:17 AM   #1
Registered: Mar 2011
Distribution: CentOS, RHEL, Fedora
Posts: 35

Rep: Reputation: 0
Cronjob to run every other weekday


I am trying to setup a cronjob that will run every other Friday, so far I've only been able to find suggestions for creating a script that will check for a flag file or using step values in my crontab.

If I create a cronjob like this:

Min Hr DOM MTH DOW command
0 3 * * 5/2 {script to run}

will it run at 3AM every other Friday.

Old 10-27-2011, 12:25 PM   #2
Registered: Nov 2010
Location: Minneapolis, MN
Distribution: Ubuntu, Red Hat, Mint
Posts: 128

Rep: Reputation: 30
Sounds like maybe no?
Old 10-27-2011, 02:38 PM   #3
Registered: Mar 2011
Distribution: CentOS, RHEL, Fedora
Posts: 35

Original Poster
Rep: Reputation: 0
Thanks for the info...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CronJob Run URL Problem c a g a t a y Linux - Newbie 10 10-09-2011 01:08 PM
run cronjob once every three months noir911 Linux - Server 2 04-30-2010 04:30 PM
cronjob to run every 15 minutes? your_shadow03 Linux - Newbie 5 11-19-2009 11:58 PM
[SOLVED] make cronjob run every 10mins qwertyjjj Linux - Newbie 2 08-13-2009 09:06 PM
why do these cronjob not run? SheldonPlankton Linux - General 1 01-05-2005 09:01 PM

All times are GMT -5. The time now is 04:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration