HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Anyone setup a sched that just runs once a month?
PostPosted: Mon Jan 04, 2016 11:51 am 

Joined: Wed Nov 07, 2012 3:39 pm
Posts: 4
More specifically, I am looking for the syntax in the cli for createsched that would run a task once a month on the first Saturday. The catch is, since the task is tunesys, it cant be manipulated in the GUI to get the frequency like you want.

Open to any suggestions...

Thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: Anyone setup a sched that just runs once a month?
PostPosted: Tue Jan 05, 2016 3:45 pm 
Site Admin
User avatar

Joined: Tue Aug 18, 2009 10:35 pm
Posts: 1328
Location: Dallas, Texas
Have you tested something like this?

"0 0 1-7 * 6"

I believe in standard unix cron, that will run every Sunday, and also on every day 1 thru 7 of the month... which is not what you want. I'm not sure if createsched has the same issue. Worth a test with a simple non-intrusive command like checkhealth or even a bad command like "THISISNOTREAL" just to generate a failed task event in the log to check when it runs. If you try this out, let us know the results please.

If that doesn't work, you may have to use an external task scheduler to run the command. If your company has an enterprise scheduler like CA ESP, or BMC Control-M, you can kick off the command with SSH.

What is driving the need for a tunesys every month? Typically we only run those after making physical changes to the disk layout (adding more disks).

_________________
Richard Siemers
The views and opinions expressed are my own and do not necessarily reflect those of my employer.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 33 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | DVGFX2 by: Matt