LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

Rep: Reputation: 0
Cronjob to run every other weekday


Hello:

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.

Thanks...
 
Old 10-27-2011, 11:25 AM   #2
thesnow
Member
 
Registered: Nov 2010
Location: Minneapolis, MN
Distribution: Ubuntu, Red Hat, Mint
Posts: 126

Rep: Reputation: 28
Sounds like maybe no?

http://www.unix.com/unix-advanced-ex...ther-week.html
 
Old 10-27-2011, 01:38 PM   #3
linuxguy7820
Member
 
Registered: Mar 2011
Distribution: CentOS, RHEL, Fedora
Posts: 35

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


Reply


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 12:08 PM
run cronjob once every three months noir911 Linux - Server 2 04-30-2010 03:30 PM
cronjob to run every 15 minutes? your_shadow03 Linux - Newbie 5 11-19-2009 10:58 PM
[SOLVED] make cronjob run every 10mins qwertyjjj Linux - Newbie 2 08-13-2009 08:06 PM
why do these cronjob not run? SheldonPlankton Linux - General 1 01-05-2005 08:01 PM


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

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