Re: [ADSM-L] tsm scripts time of day
2012-12-17 17:09:10
The reason I wanted to check time is that I want to query the actlog under
certain conditions.
If its before midnight I want to issue query actlog search= " anxxxxe ***" with
begind=today endd=today begint=18:00 endt=now
and after midnight with begind=today-1 endd=today today begint=18:00 endt=now
Possible?
Thanks,
Tim
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Prather, Wanda
Sent: Thursday, 13 December, 2012 1:36 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: tsm scripts time of day
Yep.
Select current_date from status
select current_timestamp from status
(Doesn't have to be from the status table, that's just a convenient one.)
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Tim Brown
Sent: Thursday, December 13, 2012 11:44 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: [ADSM-L] tsm scripts time of day
Is there a check the time of day within a tsm script ?
Thanks,
Tim Brown
Supervisor Computer Operations
Central Hudson Gas & Electric
284 South Ave
Poughkeepsie, NY 12601
Email: tbrown AT cenhud DOT com<mailto:tbrown AT cenhud DOT com>
<<mailto:tbrown AT cenhud DOT com>>
Phone: 845-486-5643
Fax: 845-486-5921
Cell: 845-235-4255
"This message contains confidential information and is only for the intended
recipient. If the reader of this message is not the intended recipient, or an
employee or agent responsible for delivering this message to the intended
recipient, please notify the sender immediately by replying to this note and
deleting all copies and attachments."
|
|
|