Log scheduled script execution every 5 minutes
Recipe ToolsMarketingDocument/File
What it does
When the clock triggers every 5 minutes, this automation runs the Basic Output script on the on-premises system. It logs the result to the job report so someone knows if the script succeeded or failed.
Who it's for
Operations teams who need to run scripts on a schedule and track their success or failure.
How teams use this
Run scripts on a regular schedule
Execute the Basic Output script every 5 minutes without manual triggers, and log each run to a job report. The team sees a complete history of when the script ran and whether it succeeded.
Alert the team when scripts fail
Extend this automation to include a Slack notification when the script encounters an error. The team is notified immediately instead of discovering failures later in the job report.
Run different scripts by time of day
Retarget this automation to run different scripts at different times, such as a backup script at night and a data sync script during business hours. The same monitoring and logging applies to each script.
How it works
- Start every 5 minutes. The automation begins on a 5-minute interval so the script runs regularly without manual intervention.
- Execute Basic Output script. Run the Basic Output script on the on-premises system and monitor for errors during execution.
- Log result to job report. Record whether the Basic Output script succeeded or failed in the job report so the team can review the outcome.