Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Schedule.SetTimeStamp
Sets the timestamp where a schedule runs the next time.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Schedule | 5.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
MBS( "Schedule.SetTimeStamp"; ScheduleRef; TimeStamp ) More
Parameters
Parameter | Description | Example |
---|---|---|
ScheduleRef | The reference for a scheduled script call or sql query as returned by Schedule.StartScript* functions or Schedule.ExecuteSQL* functions. | $ref |
TimeStamp | The new time stamp. This moves the schedule to run on a different time. | Get(CurrentTimestamp) + 60 |
Result
Returns OK or error.
Description
Sets the timestamp where a schedule runs the next time.Examples
Move next execution to now plus 10 seconds:
MBS( "Schedule.SetTimeStamp"; $ScheduleRef; Get(CurrentTimeStamp) + 10 )
See also
This function checks for a license.
Created 20th May 2015, last changed 27th May 2015