BookmarkSubscribeRSS Feed
EyalGonen
Barite | Level 11

Hi experts,

 

I have a few scheduled jobs in SAS Viya (using SAS Environment Manager's Jobs and Flows plugin) and I have two questions:

 

1. How can I setup an alert (such as via an email or some other technique) that a scheduled job failed?

2. How can I redirect the log of the scheduled job to the file system or pod stdout for easy collecting via standard tools? Currently I have to open the SAS EV user interface each time I want to view the log...

 

 

2 REPLIES 2
LinusH
Tourmaline | Level 20
I don't have access to Viya 4 at this point.
But it seems there is no OOTB functionality for this.
It seems that you could implement this on a Flow instance level, by pointing out a program to execute when a job flow exits:
https://documentation.sas.com/doc/en/sasadmincdc/v_071/evfun/n0b9cf8ru47gp6n1lvamxqwbr3by.htm#p00388...
Data never sleeps

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

Learn how to explore data assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 288 views
  • 0 likes
  • 2 in conversation