Help cron manager on bh 1.7.6

kccalex

Vu+ Newbie
Hi
I am having a problem with cron manager lastest image... I used on BH 1.7.5 this comand */1 * * * * /usr/script/myscript.sh and works perfect but on this new image doesnt work :(
the script is in /usr/script with attribute 755.
Also the command are on /etc/bhcron in both files bh.cron and root.

any ideas?

p.s by telnet i dont see any bhcron program running and i think on older image it appers

also on TS panel its says the cron it stopped but i tried to run it by command and doenst work....Any idea to start it manually by telnet ???


regards and keep the good working
 

Edwin*

Vu+ Newbie
Code:
*/5 * * * * /usr/script/./myscript.sh
Code:
#!/bin/sh
if ps x |grep -v grep |grep -c CCcam_2011 >/dev/null
then
#user and pass from the webinfo page.
if wget http://root:root@127.0.0.1:16001
then
rm /usr/camscript/index.html
echo "ok"
else
echo "not ok"
/usr/camscript/Ncam_CCcam2.0.11.sh stop
/usr/camscript/Ncam_CCcam2.0.11.sh start
fi
else
echo "not ok"
/usr/camscript/Ncam_CCcam2.0.11.sh stop
/usr/camscript/Ncam_CCcam2.0.11.sh start
fi

its this script ok George 1979 ?

pls can you post your working script
 

Matrix10

Administrator
Code:
*/5 * * * * /usr/script/./myscript.sh
Code:
#!/bin/sh
if ps x |grep -v grep |grep -c CCcam_2011 >/dev/null
then
#user and pass from the webinfo page.
if wget http://root:root@127.0.0.1:16001
then
rm /usr/camscript/index.html
echo "ok"
else
echo "not ok"
/usr/camscript/Ncam_CCcam2.0.11.sh stop
/usr/camscript/Ncam_CCcam2.0.11.sh start
fi
else
echo "not ok"
/usr/camscript/Ncam_CCcam2.0.11.sh stop
/usr/camscript/Ncam_CCcam2.0.11.sh start
fi

its this script ok George 1979 ?

pls can you post your working script


Ban 7 days to read forum rules
It is not allowed to ask for any support for the use of EMU


http://www.vuplus-community.net/rules.html
 
Top