I have a program that needs to run repeatedly. Now, I use supervisord's autorestart to do that. Currently I have:
command=myprogram --output-file=logfile.log
I want something like:
command=myprogram --output-file=logfile_%(date)s.log
which specifies an output-file as logfile_2015_08_13.log
,
except that supervisord only supports %(program_name)s
, %(process_num)02d
, etc.