Red Hat Training

A Red Hat training course is available for Red Hat Satellite

34.105. Method: scheduleScriptRun

Description

Schedule a script to run.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • array:
    • int - System IDs of the servers 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