RoboTask as Task Scheduler email on fail

Discuss RoboTask here
Post Reply
bwatland
Posts: 2
Joined: Wed Apr 27, 2005 12:05 pm
Location: United States
Contact:

RoboTask as Task Scheduler email on fail

Post by bwatland »

I want to use RoboTask as a Task Scheduler replacement with an added
fuction to alert staff if a particular .exe did not run as
scheduled.  I can  schedule a task using RoboTask, to just
run an exe at certain times, but how can I handle task failures?
Oleg
Site Admin
Posts: 3201
Joined: Thu Jan 01, 1970 1:00 am
Contact:

RoboTask as Task Scheduler email on fail

Post by Oleg »

If an error has been occured during task execution you can handle it. At task editor click the "Advanced" tab and set "If error occured" parameter value to "Continue execution". Now task will be not aborted when an error will be raised.
For handling this error you can use "IsError" macrovariable, which shows an error presence in previous step: TRUE - error has been occured, FALSE - if not.

For example:

.... some steps....
Run some application
if {IsError} then
   Send ICQ message to administrator
end if
... some steps ....
bwatland
Posts: 2
Joined: Wed Apr 27, 2005 12:05 pm
Location: United States
Contact:

RoboTask as Task Scheduler email on fail

Post by bwatland »

Thanks, I got it, that helped me figure out the UI a bit better.
Post Reply