3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-23 19:22:40 +01:00

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

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