Red Hat Training

A Red Hat training course is available for Red Hat Satellite

34.119. scheduleScriptRun

Schedule a script to run.
  • string sessionKey
  • string label
  • int serverId - ID of the server 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.