−50%

50% off your first month on any paid plan · code WELCOME50 · until Nov 30

Start free →

PowerShell

PowerShell

For Windows scheduled tasks or PowerShell-based automation:

backup.ps1
$PingUrl = "https://www.watchcron.com/ping/your-uuid"

Invoke-RestMethod "$PingUrl/start"

try {
    # Your task here
    Backup-SqlDatabase -ServerInstance "localhost" -Database "mydb"

    Invoke-RestMethod $PingUrl
}
catch {
    Invoke-RestMethod "$PingUrl/fail" -Method POST -Body $_.Exception.Message
    throw
}
Windows Task Scheduler (one-liner)
powershell -Command "C:\scripts\backup.ps1; Invoke-RestMethod 'https://www.watchcron.com/ping/your-uuid'"
Pricing Docs
Log in Start free →