Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets the SQL for the schedule.

Component Version macOS Windows Linux Server iOS SDK
Schedule 5.2 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "Schedule.SetSQL"; ScheduleRef; SQL )   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
SQL The SQL to execute. "INSERT INTO Contacts (FirstName, LastName) Values('Bob', 'Miller')"


Returns OK or error.


Sets the SQL for the schedule.

See also

This function checks for a license.

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

Schedule.SetRepeatDelay - Schedule.SetScriptName