ADSM-L

Re: How to Run a Schedule on the first Saturday of each month.

2003-01-23 12:44:16
Subject: Re: How to Run a Schedule on the first Saturday of each month.
From: Zlatko Krastev <acit AT ATTGLOBAL DOT NET>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 23 Jan 2003 19:04:12 +0200
Define the schedule with perunits=onetime.
Define a script and invoke it *each* Saturday through (another -
administrative) schedule:
"select 1 from db where day(current_date)<=7
if (rc_ok) goto is_first
done: exit
is_first: upd sch <domain> <client_schedule> startd=today"

The client schedule will fire only once. The administrative schedule will
fire each Saturday. If the day is first Saturday of the month it will
update the client schedule to start again in that day. Parameters of the
client schedule will mandate when exactly and what action will take place.
Appropriate duration options mandate startup window.

Zlatko Krastev
IT Consultant






"Fought,Tom" <foughtt AT OCLC DOT ORG>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
21.01.2003 15:09
Please respond to "ADSM: Dist Stor Manager"


        To:     ADSM-L AT VM.MARIST DOT EDU
        cc:
        Subject:        How to Run a Schedule on the first Saturday of each 
month.


Please instruct me on how to setup a schedule which
runs only on the first Saturday of each month. I find
the schedule options somewhat unclear.
Thanks
Tom