Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
How can we monitor jobs for errors in case of failure and other logs like row count etc for jobs scheduled via cron? Also, is there any way can setup alert email in case of failure?
Appreciate your help. Thanks in Advance.
Hi,
1) You could add Audit and Log components like tFileRowCount for the Row Count and please Enable "tStatsCatcher Statistics" in the component/components you wish to monitor.
This setting can be found under -
"Component -> Advanced Settings -> tStatsCatcher Statistics
2) Go to Job Tab -> Stats & Logs -> Use Statistics & Use Logs & Use Volumetrics and
Change their respective paths to your systems relative path.
Example
3) if you just want to save/redirect the output during execution of job using Crontab
use - "job_test_run.sh > SomeFile.txt"
4) If you want to trigger E-Mail alerts on failure scenario please use tSendMail Component