Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Send an email with log file when task is failed

Hello qlikers 🙂 ,

I have implemented a script that sends automatically mails. 
Now I want to implemented a new script that sends a automatically mail when the task failed. It should include the log file. 

How could I write this in a qlik sense script? Do you have any ideas? 

Thank you in advance! 🙂 Looking forward to reading some answers. 

Labels (2)
1 Reply
jonathandienst
Partner - Champion III
Partner - Champion III

The log file will be flushed to disk when the load script finishes, so you cannot do this in the load script directly. You could have a second task started on fail of the first that extracts the load log and sends the email. Or else use an external process.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein