Red Hat Training

A Red Hat training course is available for Red Hat Satellite

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