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

Schedule.SetSQL

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

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
SQL The SQL to execute. "INSERT INTO Contacts (FirstName, LastName) Values('Bob', 'Miller')"

Result

Returns OK or error.

Description

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