Monitor Windows Scheduled Tasks

Task Scheduler can run PowerShell or batch jobs. Add a CronCraft ping when the script completes successfully — same contract as Linux cron.

Overview: scheduled task monitoring.

PowerShell

try {
    & C:\Scripts\Nightly-Job.ps1
    Invoke-WebRequest -Uri "https://croncraft.app/ping/YOUR_TOKEN" -UseBasicParsing -TimeoutSec 60 | Out-Null
} catch {
    Invoke-WebRequest -Uri "https://croncraft.app/ping/YOUR_TOKEN/fail" -UseBasicParsing -TimeoutSec 60 | Out-Null
    throw
}

curl.exe (Windows 10+)

C:\Scripts\job.bat && curl.exe -fsS https://croncraft.app/ping/YOUR_TOKEN > nul

Set job schedule to match CronCraft expectations.

Add job