Tip

TSM weekday schedule alterations

TSM weekday schedule alterations
By Dex Watson

Tivoli Storage Manager has the following logistical problem. Weekday schedules are set up to run Monday - Friday at specific times. In the past you had to create five new schedules to replace every weekday schedule if on one of those days you had to run the schedule at a different time. The way around this is to alter the schedule active=yes parameter with a new schedule, which I actually run a script to alter five different weekday schedules in my example for active=no on a Monday only. Then another schedule(s) kicks off on Monday, say three hours later, to change the active status back to yes. Then those schedules on Monday run at a later time because the schedule's duration is greater than three hours. The rest of the weekday schedules for Tuesday - Friday are not affected by this change. In the example given, you would actually have to write 25 schedules to accomplish the same task, one set of five for each day.

Create ACTIVE=NO Schdule: run ACTNO

ACTNO Script code follows below:

UPDate SCHedule Schedule_1 Type=Administrative ACTIVE=No
UPDate SCHedule Schedule_2 Type=Admninistrative ACTIVE=No
" 3
" 4
" 5

Create ACTIVE=YES Schedule: run ACTYES

ACTYES script coding follows:

UPDate SCHedule Schedule_1 Type=Administrative ACTIVE=Yes
UPDate SCHedule Schedule_2 Type=Administrative ACTIVE=Yes
" 3
" 4
" 5

Requires Free Membership to View

This was first published in May 2001

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.