chandra-mta / MTA

0 stars 0 forks source link

Check_Staled - Reformat process checker to include more accurate start time. #16

Open william-aaron-CFA opened 11 months ago

william-aaron-CFA commented 11 months ago

ps command call currently uses aux format which, if the process has been stale long enough, will only tell us the starting date rather than the starting time as well. Change command to include starting time formatting option. https://www.man7.org/linux/man-pages/man1/ps.1.html

william-aaron-CFA commented 11 months ago

Will also in notification email, change message to include the process checker running time ( currently a cron job at 1:34 am) so that we can get a better set of running info if things change around.