ADSM-L

days in scripting

2003-03-24 04:54:03
Subject: days in scripting
From: "Tuyl Adrie, A.C. van" <Adrie.vanTuyl AT ORANJEWOUD DOT NL>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 24 Mar 2003 10:53:14 +0100
Hi all,

We have a daily tsm script which checks for missed backups, missed events,
filesystems backupped longer then 24 hours ago etc.
Weekends we do not backup all of our servers, so the check should be for
last friday and not for sunday.
Is there a way to implement the current day and do a jump depending on the
current day?

For instance:

if 'today=monday' goto
        q ev * * begind=-3
else
        q ev * * begind=-1




Thanks,
Adrie

TSM Server 4.2.2.6 on Win NT 4 SP 6a

****************************************************************************
This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this e-mail in error, please notify
postmaster AT oranjewoud DOT nl
This footnote also confirms that this e-mail message has been checked by
McAfee Groupshield for the presence of computer viruses.
****************************************************************************

<Prev in Thread] Current Thread [Next in Thread>