Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Is there any way to check if a job is running or stopped?

Hi everyone!
I have some jobs that are critical, and they have to be running (using tWaitForFile) all time. I would like to know, by email, if one of these jobs stop.
Thanks.
Labels (2)
2 Replies
Anonymous
Not applicable
Author

Create a master job that calls your main job as a subjob. (Just drag the other main job into master job.)
From the subjob -
- use on JobOk to a tSendMail to send "job complete:
- use on JobError to a tSendMail to send "job error"
Anonymous
Not applicable
Author

Thanks phobucket,
That doesn't solve my problem, I don't want to know if it was an error, I just want to know if it is stopped for some reason, without error. And if its possible run it automatically in that case.
I tried with a loop in other job just to call the other job every 10 seconds, but it's creating another process, so I would have two process doing the same, that is not good at all!