3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-30 07:59:42 +01:00
pbot/pbot.sh
2011-12-12 06:01:51 +00:00

8 lines
188 B
Bash
Executable File

#!/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