pbanghart
ADSM.ORG Member
Okay, I'm sooo close to getting what I want, but I need some help finding yesterday...
I'm trying to run the following script to get a count of the backups scheduled for the past 24 hours:
select count (*) as "# Servers" from events where domain_name = '<my policy>' and scheduled_start > (...24 hours ago...).
It's that last part ("...24 hours ago...") that I can't figure out. Can anyone out there tell me how I can select events from yesterday without hard-coding a date/time entry?
Thanks in advance...
-PB
I'm trying to run the following script to get a count of the backups scheduled for the past 24 hours:
select count (*) as "# Servers" from events where domain_name = '<my policy>' and scheduled_start > (...24 hours ago...).
It's that last part ("...24 hours ago...") that I can't figure out. Can anyone out there tell me how I can select events from yesterday without hard-coding a date/time entry?
Thanks in advance...
-PB