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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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 (1)
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