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?
RoboTask as Task Scheduler email on fail
RoboTask as Task Scheduler email on fail
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 ....
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 ....
RoboTask as Task Scheduler email on fail
Thanks, I got it, that helped me figure out the UI a bit better.