-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
Hoping someone here has an example of how to have the logfile name contain date and time stamp. I have not been successful finding an example that works nor have any of my attempts worked:
-rw-r--r-- 1 root root 1800 Jan 16 23:12 'snapraid_$(%D+$T).log'
-rw-r--r-- 1 root root 1800 Jan 16 23:05 'snapraid_$(date+%F).log'
-rw-r--r-- 1 root root 7954 Jan 17 08:03 'snapraid_$(date +%Y%m%d%H%M%S).log'
-rw-r--r-- 1 root root 1800 Jan 16 23:01 snapraid_%D-%T.log
-rw-r--r-- 1 root root 958523 Jan 16 22:58 snapraid_%Y-%m-%d_%H-%M-%S.log
Please let me know if there is a suggested way to accomplish this in the snapraid-runner framework.
Thank you!
Metadata
Metadata
Assignees
Labels
No labels