Windows scheduled task monitoring is easy with Cronitor. By updating your scheduled action to run using CronitorCLI
exec you'll gain visibility with a web dashboard and receive alerts if any problems occur, including:
Monitoring scheduled tasks can be completed in just a few minutes, no coding required.
Your new monitor is created in a paused state; monitoring will not begin until the first ping is received.
On your server, download the CronitorCLI application.
We recommend moving the executable to
%SystemDrive%\Program Files\ for system-wide use.
From the Task Scheduler, update the scheduled task action you are monitoring to invoke CronitorCLI:
cronitor exec. In this example you see that the
C:\app\bin\collect-statscommand is now being passed as an argument to CronitorCLI. the first argument after exec,
d3x0c1, is the unique code for this monitor, copied from the Cronitor dashboard.
Cronitor integration can be accomplished without installing CronitorCLI. To do this, move your current command and arguments to a .bat file, use
or similar to send pings to your monitor's unique
/run endpoint before your command
/complete after it exits. For more details, see
"Integration without an API client" in the Integration Guide.