Forum Discussion
preslav_ilevski
Cirrus
Aug 16, 2017Timestamp in email
Hi f5 team,
Can you help us with proposal how can we add timestamp in the body of the mail when configure /config/user_alert.conf?
- Jad_Tabbara__J1
Cirrostratus
Hello Preslav,
You can use the shell command "date" to get the local time before sending the mail.
example :
timestamp=`date`
Then you can use the $timestamp variable
It will display something like that by default :
Wed Aug 16 10:50:50 CEST 2017
You can also customize the date as you want using arguments with command "date"
Regards
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects