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 |
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
- Schedule.EvaluateAfterDelay
- Schedule.EvaluateAtTime
- Schedule.EvaluateAtTimeStamp
- Schedule.EvaluateOnIdle
- Schedule.ExecuteSQLAfterDelay
- Schedule.ExecuteSQLAtTime
- Schedule.ExecuteSQLOnIdle
- Schedule.ReleaseAll
- Schedule.StartScriptAtTime
- Schedule.StartScriptAtTimeStamp
Example Databases
- Utility functions/OnRecordEdit Trigger
- Window/Schedule Moved Trigger
- Window/Window Activation Trigger
Blog Entries
- Window Activation Trigger
- Script trigger for moving window
- OnRecordEdit Trigger in FileMaker
- Record Creation Script Trigger
This function checks for a paid license.
Created 20th May 2015, last changed 27th May 2015
