ADSM-L

Re: Schedule for the last day of the month...every month

2003-06-19 13:55:50
Subject: Re: Schedule for the last day of the month...every month
From: Kent Monthei <Kent.J.Monthei AT GSK DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 19 Jun 2003 13:54:05 -0400
You might be able to develop & schedule a little script which
        a) does a 'delete schedule'
        b) goes through a loop that performs a 'define schedule' for the
31st/30th/29th/28th (in that order)
        c) after each 'define schedule' attempt, checks the Return Code
(or output of 'q sched')
        d) exit if/when the 'define schedule' is successful.

Then schedule the script to run on any of the 1st through 28th day of the
month.

Kent Monthei
GlaxoSmithKline





"Bill Boyer" <bill.boyer AT VERIZON DOT NET>

Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
19-Jun-2003 13:14
Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>




        To:     ADSM-L

        cc:
        Subject:        Schedule for the last day of the month...every month

I have a client that wants to do monthly backups on the last day of the
month. A co-worker did some testing and creating a schedule for say
5/31/3002 with PERU=MONTH. The June event gets scheduled for 6/30, but
then
remains the 30th day from then on. Until Feb next year when it moves to
the
29th.

Outside of creating a schedule for each month with a PERU=YEAR, is there a
way to do a schedule on the last day of every month??

TIA,
Bill Boyer
"Some days you are the bug, some days you are the windshield." - ??