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

Schedule.SetScriptParameter

Sets the script parameter for scheduled script start.

Component Version macOS Windows Linux Server iOS SDK
Schedule 5.2 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "Schedule.SetScriptParameter"; ScheduleRef; Parameter )   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
Parameter The new parameter value.
If empty or not provided, the plugin pases the schedule reference number.
""

Result

Returns OK or error.

Description

Sets the script parameter for scheduled script start.
If the script parameter is empty, the plugin passes the timer reference number as parameter.

Examples

Change Script Parameter:

MBS( "Schedule.SetScriptParameter"; $ScheduleRef; "Hello World" )

See also

This function checks for a license.

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


Schedule.SetScriptName - Schedule.SetTimeStamp