Friday April 19, 2024

       
      SteelArrow Basics
      SteelArrow Tags
  SteelArrow Functions
  SteelArrow Objects
  Advanced Topics
  WAS Overview
   
   
       
      Overview
  Code Samples
  Site Search
   
   
   


Get SteelArrow!     
  <SATIMEDOPER>    
 
 
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
ATdate and time
INnumber of seconds
ITERATIONSnumber of iterations (default is 1)
TIMEOUToperation 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>





Copyright © 1998-2004 Tomahawk Technologies Inc.
Privacy Policy