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: 12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3    Statistic    FMM    Blog  

Schedule.Release

Releases schedule reference.

Component Version macOS Windows Linux Server iOS SDK
Schedule 5.2 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "Schedule.Release"; ScheduleRef )   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

Result

Returns OK or error.

Description

Releases schedule reference.
This will free all memory used and stops the schedule.

Examples

Release now:

MBS( "Schedule.Release"; $ScheduleRef )

Start a script once in 10 seconds and release:

Set Variable[ $ref; MBS( "Schedule.StartScriptAfterDelay"; 10; Get(FileName); "testScript"; "Hello World" ) ]
Set Variable[ $r; MBS("Schedule.Release"; $ref) ]
# script will never be called as schedule was destroyed!

See also

Example Databases

Blog Entries

This function checks for a paid license.

Created 20th May 2015, last changed 27th May 2015


Schedule.List - Schedule.ReleaseAll

💬 Ask a question or report a problem


Start Chat