RestartInterval
is an option controlling the restart behavior of functions such as ContinuousTask.
Details
- A ContinuousTask consults the value of RestartInterval in the event of a failed evaluation.
- In the cloud, the wait incurred by RestartInterval does not include overhead associated with scheduled task startup.
Examples
Basic Examples (1)
By default, a failed ContinuousTask evaluation results in a series of restart attempts at progressively longer time intervals. Alternatively, supply a number of seconds or a time Quantity:
Supply a function that takes the number of consecutive failures as a parameter and returns a number of seconds:
Text
Wolfram Research (2015), RestartInterval, Wolfram Language function, https://reference.wolfram.com/language/ref/RestartInterval.html.
CMS
Wolfram Language. 2015. "RestartInterval." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RestartInterval.html.
APA
Wolfram Language. (2015). RestartInterval. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RestartInterval.html