BlueCielo Meridian Enterprise 2012 Developer's Guide | BlueCielo ECM Solutions

RunAgain method

If the task returns a valid date, the RunAgain method will schedule it to run again.

Syntax
Private Property Get IAMTask_RunAgain() As Date
Remarks

Following is the default implementation of the RunAgain method. It does not contain any code that will cause the RunAgain method to be ignored.

If the RunAgain method returns a valid Date value, the task will be scheduled to run at this time. The Date value should be in local system time. The most straightforward implementation is to add some interval to Now().

Private Property Get IAMTask_RunAgain() As Date
' You may schedule the task to be executed again.
' Sample: Run again in 24 hours
' IAMTask_RunAgain = DateAdd("h", 24, Now)
 
End Property

Delayed task instances are stored in a special folder on the Task Server computer. You can clear this folder to remove any outstanding tasks.

Related information

Execute method


Copyright © 2000-2012 BlueCielo ECM Solutions

www.bluecieloecm.com