mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 11:42:35 +01:00
Merge stderr into existing log file and remove stderr_log file
This commit is contained in:
parent
7a1d37b51a
commit
84ac99a680
5
pbot.sh
5
pbot.sh
@ -1,7 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
mv log/log log/log-`date +%Y%m%d-%H:%M.%N` 2> /dev/null
|
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/log
|
||||||
|
|
||||||
perl pbot.pl 2> log/stderr_log
|
|
||||||
cat log/stderr_log
|
|
||||||
|
Loading…
Reference in New Issue
Block a user