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.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4    Statistic  


Releases schedule reference.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Schedule 5.2 Yes Yes No No Yes
MBS( "Schedule.Release"; ScheduleRef )   More


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


Returns OK or error.


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


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

Blog Entries

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

Schedule.List   -   Schedule.ReleaseAll

Feedback: Report problem or ask question.

MBS Xojo Plugins