Re: last sunday of the month
2002-08-19 20:29:33
While we can do it in cron by picking specific days, and then adding
logic to manage if this is the last Sunday....
Is there a logic flow structure in TSM scripting? I've got an
installation with no documentation, so I've been using shell and dsmadmc
a lot... :)
The logic would work like this....
Run every Sunday
Check Day_of_Month
do *NOT* run if < 23.
do run if > 25
for 25, run if Month=4,6,9,11
for 24, run if Month=1,3,5,7,8,10,12
for 23, run if Month=2
Is there a facility to check this sort of thing? We can substr the
current_timestamp, but can we store that to a "variable" and do
comparison testing and branches?
-drs-
David Stabler, CATE/AIX, CNCE
Senior Systems Analyst
>>> stapleto AT BERBEE DOT COM 08/19/02 08:55AM >>>
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU]On Behalf
Of
Burak Demircan
> How do you achieve to create a schedule for every last sunday of
> the month?
> (there could be 4 or 5 sundays??)
Use cron or the Windows scheduler service. There isn't any way to do it
with
the TSM scheduler.
--
Mark Stapleton (stapleton AT berbee DOT com)
Certified TSM consultant
Certified AIX system engineer
MCSE
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- last sunday of the month, Burak Demircan
- Re: last sunday of the month, Talafous, John G.
- Re: last sunday of the month, Ford, Phillip
- Re: last sunday of the month, Nicholas Cassimatis
- Re: last sunday of the month,
David Stabler <=
- Re: last sunday of the month, Prather, Wanda
- Re: last sunday of the month, Ochs, Duane
- Re: last sunday of the month, Zlatko Krastev/ACIT
|
|
|