Let’s take a look at ConnectWise Automate today, reviewing scheduled scripts.
Step by Step:
- First, get automation scripts and scheduled scripts. This will open a window showing all the scripts you have scheduled against any groups, clients, agents, or the maintenance group.
- In this window, you have the ability to sort the scripts by different categories. You can sort by script name, target group (e.g., group, client, or agent), or how often the script is being run.
- Sorting by frequency is useful to double-check if any scripts are running at high frequencies, such as every 15, 10, or 5 minutes, which can affect system performance.
- From here, you have a few options to manage these scripts. You can select any script and right-click to either delete or disable the script schedule.
- Disabling a script will gray it out in the list. This means the script’s schedule still exists, but it will no longer run until you re-enable it.
- Disabling scripts is useful if you want to temporarily stop a script from running and plan to come back to it later.
- If you no longer need a script, you can completely remove it from the schedule by right-clicking and selecting delete script schedule. This will remove the script from the list entirely.
- Another thing you can look at is the scheduled script history. This can be accessed by selecting a script and choosing to view the history.
- The script history window shows you where the script has run, when it ran, and which agent it was applied to. This is helpful for tracking the execution of your scripts.
- For example, let’s use the Chrome installer script. By looking at the history, you can verify that the script has run once a day against all agents in a specific group, ensuring that it’s applied properly.
- If you need to modify the schedule of a script, you have the option to edit the script schedule.
- To do this, right-click on the script and choose edit script schedule, or you can double-click the entire row of the script to open the schedule editor.
- The schedule editor will show you which group the script is being applied from, allowing you to confirm the exact settings.
- In this case, the script is controlled by the Google Chrome group. You can click Yes to open that group and view the script settings.
- Within the group, navigate to the Computers and Scheduled Scripts sections to see the specific script.
- This will confirm the schedule for the script, such as running once a day at 10 AM against all agents in the group.
- To edit the schedule, you need to select the script and adjust either the frequency or the time it runs. For instance, you could change the time from 10 AM to noon or modify it from a daily schedule to a weekly one.
- After making any changes, click Update to apply the new schedule settings.
- A helpful tip is to regularly check your scheduled scripts to ensure everything is running as intended. A good practice is to review scripts once a month or quarterly.
- It’s especially important to verify that no scripts are scheduled to run too frequently or against a large number of agents, as this can lead to performance issues in your environment.
- When reviewing the scheduled scripts, look at how frequently scripts are running. For example, scripts running every 15 minutes can quickly add up if they’re applied to many agents.
- If you see scripts running on a 15-minute interval across all agents, this could be problematic, especially if there are a large number of agents (e.g., 1,000 or 10,000 agents).
- Running scripts too frequently on a large scale can significantly slow down your Automate environment and affect performance.
- To prevent this, make use of the schedule filter to identify scripts that are running very frequently, especially on short intervals, and review whether they should be adjusted.
- By regularly checking and managing your scripts, you can ensure that your system runs efficiently and that no unnecessary or resource-intensive tasks are being performed too often.
- Always make sure you’re optimizing script frequencies and the number of agents being targeted to prevent any slowdowns or system strain.
- Use these steps to keep your automation scripts organized and running smoothly, avoiding any unnecessary execution that could affect performance.