Schedule Software Package Execution
You can create a schedule to enable software package execution at a specific date and time in the future. Schedules can be of two types:
- One-time schedule
- Recurring schedule
Only approved packages can be scheduled.
You can schedule a software package in two ways: using the Schedule option from the Quick Actions menu of the package or using the Create New option from the Schedules tab.
Schedule a Package from the Quick Actions Menu
From the Scripts > Software Packages sub-tab:
- On the Software Packages sub-tab, select the package that you want to schedule.
- Select Quick Actions and then select Schedule.

- In the Schedule: <package name> > Basic Information page, enter a name and description in the relevant fields and then click Next.
The Select Script/Package page displays the two options: Select Script and Select Package.
-
Click Select Package. Your selected package displays on the page.

- Click Next.
- In the Select Assets page, do the following and then click Next.
Asset Selection Select the asset manually, or import the asset or select the asset based on QQL. For more details, refer to Execute Scripts. Add Assets
Click the + sign to add assets to define the scope of the script and then click Apply.
Add Asset Tags
Click the + sign to add asset groups by selecting asset tags and the click Apply.
Exclude host for the tags
This check-box is available only if you add asset tags. Select the check-box if you want to exclude the host asset for the selected tags.
From the drop-down list, select All or Any to specify whether you want to include hosts with all or any of the tags that you have added.

- Use the Bypass Powershell Execution Policy toggle switch to specify if you want to override the PowerShell execution policy on Windows agents. When you switch this option to Yes, both signed and unsigned scripts will be executed on the agent irrespective of the PowerShell execution policy set on the asset.
This option is displayed only when you schedule a Windows PowerShell script.
- You can enable the reboot by turning the Reboot Host after Script Execution to Yes. You can specify the duration after which the reboot must start.
The Delay before Reboot option enables you to specify a time period before the system is rebooted following the execution of a script. This ensures a smooth transition between the execution of the script and the reboot process, allowing you to manage system changes in a controlled and efficient manner.This functionality is available with Windows Cloud Agent version 5.4. In addition, Reboot occurs only when the job status is 'Execution Passed'.

-
In the Schedule page, specify the start date and time for the package to configure a one-time schedule, and then click Next.
- If you want the package to automatically recur as per your specifications, do the following and then click Next:
- Select the Recurring Job check box if you want to schedule a recurring job for the package.
Selecting the Recurring Job check box makes the Repeats and End Date fields active, which enables you to configure the recurring schedule for the package.

-
For each recurring job, use the Start Time text box to specify the first execution and the End Date text box to specify the last date for the recurring schedule.
Hourly
For a package to be executed on an hourly basis, provide the value for the hour from 1 to 23 hours.
Daily
Specify the time from the Start Time drop-down list.
Weekly
In the On Day of the Week section, specify the days on which you want the package to repeat its execution.
Monthly
If you want to plan the execution of a package with a monthly recurring schedule, you can either specify the script recurrence dates or the days for each month.
- Select day of the month: Click this option and then provide the values for date, recurrence interval in months, and the start time.
- Select day of the week: Click this option and then provide the values for recurrence day, specific day of the week, recurrence interval in months, and the start time.
- Click View Next Schedule to view the next three schedules.
The start time of the first script execution is automatically calculated 15 minutes from the current time in your time zone.
- Select the Recurring Job check box if you want to schedule a recurring job for the package.
- In the Review and Confirm page, review the information you have provided and then do one of the following:
- Click Save to save the schedule that you have just created. You can activate the schedule later.
- Click Save & Activate to create the schedule and activate it immediately. You can also activate a schedule later from the
Scripts > Schedules sub-tab.
Until you activate a schedule, its status is displayed as inactive.
All the scheduled packages are executed in UTC time zone, irrespective of the data provided in the local time zone.
Schedule a Package from the Schedules Tab
From Scripts > Schedules sub-tab:
-
Click Create New.

-
For further steps, refer from Step 3 of Schedule a Package from the Quick Actions Menu.
Related Topics