3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-02 18:19:33 +01:00
pbot/pbot.sh

8 lines
188 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