You work on a project to track the resources used by user IDs set up for temporary employees. You have an EXEC called TEMPUSE to check this. Because your department is charged for the system resources it uses, you do not want to run the report when no one is at work. Your office is open on weekends, but on a few days of the year, like Thanksgiving and Christmas, it shuts down.
vmsched config
CA VM:Schedule displays the contents of the VMSCHED CONFIG file. The lines you need to check look like this:
RANGE ‘HOLIDAY’ IS BETWEEN 11/26/yy 00:00:00 AND 11/26/yy 23:59:59 RANGE ‘HOLIDAY’ IS BETWEEN 11/27/yy 00:00:00 AND 11/27/yy 23:59:59 RANGE ‘HOLIDAY’ IS BETWEEN 12/25/yy 00:00:00 AND 12/25/yy 23:59:5
vmsched schedule tempuse tempuse (at 08:00:00 every 04:00:00 to 20:00:00 again daily outside holiday
You have another EXEC, THANKS, that sends a message to the skeleton staff that volunteers to work on holidays.
To schedule it to run only on holidays, enter the following command:
vmsched schedule thanks thanks (at 10:00:00 again daily inside holiday
You need to send hourly reminders to your third shift operations staff to check spool space. The THIRD shift is defined as 11 p.m. to 6 a.m. every day.
To schedule a request to send the reminders, enter the following command:
vmsched schedule remind remind (again hourly inside third
Note: If you specify an OUTSIDE shift or range without using an AT time or FROM date, CA VM:Schedule uses as the default the first available time and day not included in the specified shift or range. If you specify an INSIDE shift or range without using an AT time or FROM date, CA VM:Schedule uses as the default the first available time and day within the specified shift or range.
|
Copyright © 2013 CA.
All rights reserved.
|
|