Merge stderr into existing log file and remove stderr_log file

This commit is contained in:
Pragmatic Software 2014-12-29 23:55:49 -08:00
parent 7a1d37b51a
commit 84ac99a680
1 changed files with 1 additions and 4 deletions

View File

@ -1,7 +1,4 @@
#!/bin/sh
mv log/log log/log-`date +%Y%m%d-%H:%M.%N` 2> /dev/null
mv log/stderr_log log/stderr_log-`date +%Y%m%d-%H:%M.%N` 2> /dev/null
perl pbot.pl 2> log/stderr_log
cat log/stderr_log
perl pbot.pl 2>> log/log