Robert Site Admin
Joined: 25 May 2006 Posts: 1140
|
Posted: Fri Sep 14, 2012 10:43 am Post subject: |
|
|
The simplest way would be to monitor an echo tasklog for changes. If it does not change in 5-60 minutes etc, depending on your schedule frequency, then the engine could be down.
To monitor:
1) Create an echo task. Task title = echomonitor. Schedule this echo task to run every 30 minutes.
2) Create a File Monitor task within Automize to monitor the echo task log (...data\tasklogs\echomonitor).
Folder = ...Automize11\data\tasklogs
filename = echomonitor
Select option: Run task if file date older than 1 hour
Task to Run: Email Notification Task
3) Get the Task Runner code for this File Monitor task (Utulities menu / Commandline / Task Runners)
4) Use the command line and working directory for this File monitor task and schedule it to run via Windows Scheduler (on windows) or cron etc on linux/mac. It is recommended to schedule the File Monitor to run every 2-6 hours.
The task will run independently as a separate program (i.e. not launched by engine) and can monitor the engine. |
|