The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need help with a script run by a cron job. klawless UNIX for Advanced & Expert Users 1 10-06-2008 08:41 AM
Help with script - run by cron richo king Shell Programming and Scripting 2 03-05-2008 07:36 PM
script not working in CRON abhijeetkul Shell Programming and Scripting 5 07-13-2006 05:48 AM
Can run script Manually, but not through Cron? MadHatter Shell Programming and Scripting 4 10-19-2005 10:08 AM
Cron Script Q doublek321 Shell Programming and Scripting 2 07-06-2004 09:35 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-06-2008
Registered User
 

Join Date: Aug 2008
Location: Bangalore , INDIA
Posts: 8
Need to cron the script

I want to cron one script which should run every second Thursday (in general Nth occurence of any day) of every month.
I am not getting the exact idea of doing this; Please guide.

Regards,
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-06-2008
Registered User
 

Join Date: Sep 2008
Posts: 261
Please check the below link and see if u can get u’r script scheduled as per u’r requirement

http://www.unix.com/sun-solaris/83126-cron-job-scheduling-alternate-day-week.html
Reply With Quote
  #3 (permalink)  
Old 10-08-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 1,770
Hi jaiankur .
do search the forum before you post your questions. Thx!
Reply With Quote
  #4 (permalink)  
Old 10-10-2008
Registered User
 

Join Date: Aug 2008
Location: Bangalore , INDIA
Posts: 8
Mr. incredible,
I did the search before i posted my query; didn't get any valuable thread on the similar issue.

Kumarmani,
Thanks for your reply.
As per the link provided by you the wrapper concept is useful but consider the case where i need to run the job only on second friday of each month.

in this case how would get the condition where can i check that today's friday is second frriday of the current month or not.
I don't want to hard code the Date.

Regards,
Ankur Jain
Reply With Quote
Google The UNIX and Linux Forums
Reply

Bookmarks

Tags
None

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:




All times are GMT -4. The time now is 09:34 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66