Save Email Notifications to File

Post Reply
velevi
Posts: 42
Joined: Thu Sep 08, 2005 12:21 pm

Save Email Notifications to File

Post by velevi »

I was trying to find the spot in the 'dowalk' script where emails are sent to notify a manager of a walk completion or to send a manager the query log for a given profile. I'd like to save the query logs in particular to some kind of text file on a weekly basis (using a naming convention based on the week's starting date).

Can you give me a little advice how to go about that?
Thanks much!!
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Save Email Notifications to File

Post by mark »

Find where it's <exec>ing "sendmail". Use <write> to write to a file. Use <strfmt> with %at to generate a filename based on the current date/time.
velevi
Posts: 42
Joined: Thu Sep 08, 2005 12:21 pm

Save Email Notifications to File

Post by velevi »

Thank you. That worked out very well.
Post Reply