The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 08: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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-06-2008
jaiankur jaiankur is offline
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,
  #2 (permalink)  
Old 10-06-2008
kumarmani kumarmani is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 341
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
  #3 (permalink)  
Old 10-08-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,060
Hi jaiankur .
do search the forum before you post your questions. Thx!
  #4 (permalink)  
Old 10-10-2008
jaiankur jaiankur is offline
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
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:03 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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