Show Table of Contents
34.106. Method: scheduleScriptRun
Description
Schedule a script to run.
Parameters
The following parameters are available for this method:
- string
sessionKey - int
serverId- ID of the server to run the script - string
username- User to run script - string
groupname- Group to run script - int
timeout- Seconds to allow the script to run before timeout - string
script- Contents of the script to run - dateTime.iso8601
earliestOccurrence- Earliest the script can run
Returns
The following return values are available for this method:
- int - ID of the script run action. Used to fetch results with
system.getScriptResults

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.