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

8 lines
188 B
Bash
Executable File

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