Secure Tag |
Return to Tag List |
|
The TIMEDOPER allows a script to be scheduled to execute at a given time. The script
can also be set to re-occurr, or as a one-shot execution.
Though TIMEDOPER can appear in any script, usually the ServerStart.aro script will
contain all TIMEDOPER scheduled scripts.
|
|
Attributes:
NAME |
name of operation
operations of the same name over-write this one
operations of the same name with invalid (or no) time delete this one
|
AT | date and time |
IN | number of seconds |
ITERATIONS | number of iterations (default is 1) |
TIMEOUT | operation timeout; in minutes (default is 60) |
|
|
|
The following is an example of TIMEDOPER;
|
|
<!--- 10 minute timer; 5 iterations --->
<SATIMEDOPER IN=10*60*1000 ITERATIONS=5>
<!--- Send mail message every 10 minutes --->
<SAMAIL TO=""test@tt.com" FROM="test@tt.com"
SUBJECT="timed message">
Message sent #Now()#
</SAMAIL>
</SATIMEDOPER>
<SATIMEDOPER AT=Now("mm/dd/yyyy 23:59")>
<!--- Send mail message at midnight --->
<SAMAIL TO=""test@tt.com" FROM="test@tt.com"
SUBJECT="timed message">
Message sent #Now()#
</SAMAIL>
</SATIMEDOPER>
|