The EVENTTIME statement specifies the date and time of a Windows event log. The job monitors for an event log that occurs on or after the specified date and time.
Supported Job Type
This statement is optional for the Windows Event Log Monitoring job type.
Syntax
This statement has the following format:
EVENTTIME FROM(time)
Defines the date and time of the event log. The agent monitors an event log that occurs on or after the specified date and time.
Limits: Up to 80 characters
Note: Enclose values that contain delimiters (such as spaces) in double quotation marks.
Example: Monitor an Application Log that Occurs on or After a Specified Date and Time
This example monitors an application log that occurs on or after a specified date and time. When the job finds an application log that occurs any time on or after 6:30 a.m. on December 11, 2010, the job completes successfully.
AGENT WINAGENT
EVENTLOG Application
EVENTTYPE info
EVENTCATEGORY None
EVENTSOURCE LLDSAPNT223
EVENTTIME FROM('12:05:00AM MAR 02 2009')
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|