How to use the Current Date in Attachments notifications - VisualCron - Forum

Community forum

bandorf
2011-08-15T15:47:28Z
Hi,

If a process fails, I would like VisualCron to send me an email with an attachment with a filename that changes with the current date. For example, if a process fails on 8/15/2011 I want it to attach the file XXXXX_08-15-2011.txt. Is there a way to put in the current date in a specified format into this path?

Thanks,
B.
Support
2011-08-15T21:34:03Z
Yes, use the date format variable like this:

{DATEFORMAT(MM-dd-yyyy)}

You use it, together with your other file information in the include file mask, something like you did:

XXXXXX_{DATEFORMAT(MM-dd-yyyy)}.txt
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top