Hi Jonathan,

You could create a CMD or PS1 script that reads the status and return an 
errorlevel accordingly.
In Servers Alive you can create a "External (errorlevel)"check that executes 
the script.

Kind regards,
Pieter

From: Salive [mailto:salive-boun...@woodstone.nu] On Behalf Of Jonathan Lathigee
Sent: dinsdag 17 juli 2018 20:33
To: salive@woodstone.nu
Subject: [SA-List] status of scheduled task

Is it possible to have Servers Alive check the status of a scheduled task on a 
Windows server?

Eg. Most tasks return a code of 0x0 when they exit cleanly and successfully. 
Can I get a Servers Alive alert when my scheduled task exits with a different 
code?

[cid:image001.png@01D432EF.B9A8D890]

Thanks

Jonathan

This message is intended only for the use of the individual or entity named 
above, and may contain information that is privileged, confidential or exempt 
from disclosure under applicable law. If you are not the intended recipient or 
their employee or agent responsible for receiving the message on their behalf 
your receipt of this message is in error and not meant to waive privilege in 
this message. Please notify us immediately, and delete the message and any 
attachments without reading the attachments. Any dissemination, distribution or 
copying of this communication by anyone other than the intended recipient is 
strictly prohibited. Thank you. Please consider the environment before printing 
this email.
________________________________

Dit bericht wordt verzonden vanuit een e-mailadres voor professioneel gebruik. 
De verantwoordelijken binnen de organisatie kunnen kennis nemen van alle 
berichten verzonden naar dit adres.
Le pr?sent message est envoy? d'une adresse e-mail pour usage professionnel. 
Les responsables de l'organisation peuvent prendre connaissance de tous les 
messages envoy?s ? cette adresse.
This message is sent from an e-mail address for professional use only. The 
persons in charge of the organisation may take note of all messages sent to 
this address.
_______________________________________________
Salive mailing list
Salive@woodstone.nu

 To unsubscribe send a mail to salive-requ...@woodstone.nu and in the subject 
of the mail put the following:
unsubscribe

Reply via email to