Run command-line scripts on a scheduled interval
Recipe ToolsMarketingDocument/File
What it does
When a specified interval arrives, this automation runs a command-line script on an on-premises system. The script executes at the scheduled time without manual intervention.
Who it's for
Operations teams who need on-premises scripts to run on a regular schedule without manual starts.
How teams use this
Run daily maintenance scripts
Schedule a command-line script to run every morning at a set time so routine system maintenance happens without someone having to start it manually.
Run scripts on multiple servers
Set up the same scheduled interval to run scripts on different on-premises servers by adding more script execution steps to the automation.
Change the schedule frequency
Modify the interval from daily to weekly or hourly to match operational needs without rebuilding the automation.
How it works
- Wait for the scheduled time. At the interval set in Clock, this automation wakes up and proceeds to run the next step on the on-premises system.
- Run the command-line script. Onprem Command Line Scripts executes the Print Hello World script on the on-premises system at the scheduled time.