How can I add a timestamp to every line in a piped log output?

前端 未结 0 1777
予麋鹿
予麋鹿 2020-12-04 23:11

I have to run some rather lengthy and legacy PHP scripts using cron. I want to capture the pid, output (both std and err) and log it to a file, but I would also like every

相关标签:
回答
  • 消灭零回复
提交回复
热议问题