This shows you the differences between two versions of the page.
— |
screen-irssi [2014-01-03 15:23:04] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | crontab -e | ||
+ | <code> | ||
+ | */5 * * * * /home/jenda/guard.sh | ||
+ | </code> | ||
+ | guard.sh | ||
+ | <code> | ||
+ | if ! ps x|grep -q [S]CREEN; then | ||
+ | /usr/bin/screen -d -m irssi | ||
+ | fi | ||
+ | </code> | ||
+ | chmod +x guard.sh |