Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Schedule.SetAutoRelease

Sets if scheduled item is removed from list of schedules automatically after execution.

Component Version macOS Windows Linux Server iOS SDK
Schedule 5.2 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "Schedule.SetAutoRelease"; ScheduleRef; Value )   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
Value The new setting. 1 to free schedule item after it run (and has no repeating), 0 to not free it. 1

Result

Returns OK or error.

Description

Sets if scheduled item is removed from list of schedules automatically after execution.

Examples

Set schedule to be destroyed after last execution:

MBS( "Schedule.SetAutoRelease"; $ScheduleRef; 1 )

Set schedule to be not destroyed after last execution:

MBS( "Schedule.SetAutoRelease"; $ScheduleRef; 0 )

See also

Created 21st May 2015, last changed 27th May 2015


Schedule.ReleaseAll - Schedule.SetEvaluate

Feedback: Report problem or ask question.