I've tried to set up a crontab job for znc, but I'm not sure how to do it or if I even did it properly.
*/10 * * * * znc >/dev/null 2>&1
Is what I have added in my crontab config. I also tried full path like this: */10 * * * * /home/DreamMaster/.znc/.znc >/dev/null 2>&1 but the tutorial I have found says znc without the dot in it. So I'm confused here and can't find a way to verify it at the moment.. I would be honored if you can help me out with it.
A lot of thanks in advance!
try killing the znc using
killall znc
and see if it comes back after 10 mins. And unless you compiled znc by yourself, you should only give the path as 'znc' or check the output of
Your command looks all right however if you want to start a locally compiled znc, you have to declare its path in your crontab entry. Like this:
*/10 * * * * /home/DreamMaster/znc/bin/znc >/dev/null 2>&1 (without dots)
Please Login or Sign Up to leave a reply.