Red Hat Training

A Red Hat training course is available for Red Hat Satellite

34.117. scheduleScriptRun

Name
scheduleScriptRun
Description
Schedule a script to run.
Parameters
  • string sessionKey
  • array:
    • int - System IDs of the servers to run the script on.
  • string username - User to run script as.
  • string groupname - Group to run script as.
  • int timeout - Seconds to allow the script to run before timing out.
  • string script - Contents of the script to run.
  • dateTime.iso8601 earliestOccurrence - Earliest the script can run.
Return Value
  • int - ID of the script run action created. Can be used to fetch results with system.getScriptResults.