Skip to content

Instantly share code, notes, and snippets.

@adamdriscoll
Created January 21, 2020 20:33
Show Gist options
  • Save adamdriscoll/7f2d8d12e50a3e6c16b50a098b6576b3 to your computer and use it in GitHub Desktop.
Save adamdriscoll/7f2d8d12e50a3e6c16b50a098b6576b3 to your computer and use it in GitHub Desktop.
Schedule a script using Universal Automation
$Script = Get-UAScript -Name 'Check website.ps1'
$Schedule = New-UASchedule -Script $Script -Cron '*/2 * * * *'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment