PDA

View Full Version : CCCam restart script



malsat
27-05-10, 22:54
Hi
Anyone have a script to restart cccam when it stops ?
There is some for servers so maybe theres one to work with vuduo,I have problems withh cccam stopping for no reason.

grtmoby
28-05-10, 00:05
I found this for you


here is a small script that will check if your CCcam is running or not and it will restart it if not running


Save this file in the script folder, you can use any name you like example CCcamcheck.sh

then if you have crontab set the script to run every 10 mins for example, this crontab only depends on the image you use ofcourse not all images has this function.


#!/bin/sh
if ps x |grep -v grep |grep -c CCcam >/dev/null
then
echo "cccam... ok"
else
echo "cccam... restarting"
/var/bin/CCcam_2.1.4 &
fi



Hope this helps

pirobi
04-07-10, 11:48
I found this for you


here is a small script that will check if your CCcam is running or not and it will restart it if not running


Save this file in the script folder, you can use any name you like example CCcamcheck.sh

then if you have crontab set the script to run every 10 mins for example, this crontab only depends on the image you use ofcourse not all images has this function.


#!/bin/sh
if ps x |grep -v grep |grep -c CCcam >/dev/null
then
echo "cccam... ok"
else
echo "cccam... restarting"
/var/bin/CCcam_2.1.4 &
fi



Hope this helps

Hello.
Enigma 1 Gemini Image where it is necessary to make a copy ??
var / script ????

pirobi
04-07-10, 14:26
Hello.
Enigma 1 Gemini Image where it is necessary to make a copy ??
var / script ????


oké. greet oké