3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-27 06:19:25 +01:00
pbot/pbot.sh

8 lines
189 B
Bash
Raw Normal View History

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