![]() Many thanks for answer, but where can find the cron? Where should I write the CCcam version; I use CCcam221 Would you please explain step by step and thanks in advance! Regards kokar If your cam binary was named CCcam221 then the script would look like #!/bin/sh if ps| grep -v grep| grep CCcam221 > /dev/null #Check target is running then exit #If target is running, exit the script else /etc/init.d/softcam.CCcam221 start #If it wasn't running, start it fi Personally I use the 'crontab -e' command to configure my cron jobs, but that requires a basic understanding of the Vi editor. You may find it easier to just create a text file named root (not root.txt, just root) containing a line like: */5 * * * * /path/to/script/above or */5 * * * * /usr/bin/camcheck etc. That'd run the script every 5 minutes to check and restart cam if needed. */1 would check every minute, */2 every 2 minutes, etc. Copy the root file to /etc/cron/crontabs (resulting in /etc/cron/crontabs/root). CCCAMGOOD.com BEST FREE CCCAM SERVER offer a full package of channels which include,cccam server. If you created the file in windows, make sure Windows didn't add a hidden.txt extension. I don't 'think' M$ carriage returns would choke the DB, but if the script or cron doesn't want to run, telnet into the box and run the dos2unix command on the relevant files, something like: dos2unix /etc/cron/crontabs/root dos2unix /usr/bin/camcheck For more details on cron use: -- hemi •. I can't really post 'the files' as they are dependent on the file names and paths on your receiver. Film tinkerbell secret of the wings sub indo movie 21. That is why the 'examples' are posted above, so people can make any edits that they might require and copy them into place, test them and make any changes that may be required. Then they can use cron to run the script on a schedule. There should be enough information in this thread to make it work, everyone else appears to have been able to do it. If you get stuck somewhere, like cron for example, google is your friend. Search terms like dreambox, cron, schedule, etc. Good luck, -- hemi Edited by hemispherical1, 2 February 2014 - 20:13. Many thanks for answer, but where can find the cron? Where should I write the CCcam version; I use CCcam221 Would you please explain step by step and thanks in advance! ![]() Regards kokar If your cam binary was named CCcam221 then the script would look like #!/bin/sh if ps| grep -v grep| grep CCcam221 > /dev/null #Check target is running then exit #If target is running, exit the script else /etc/init.d/softcam.CCcam221 start #If it wasn't running, start it fi Personally I use the 'crontab -e' command to configure my cron jobs, but that requires a basic understanding of the Vi editor. You may find it easier to just create a text file named root (not root.txt, just root) containing a line like: */5 * * * * /path/to/script/above or */5 * * * * /usr/bin/camcheck etc. That'd run the script every 5 minutes to check and restart cam if needed. */1 would check every minute, */2 every 2 minutes, etc. Copy the root file to /etc/cron/crontabs (resulting in /etc/cron/crontabs/root). If you created the file in windows, make sure Windows didn't add a hidden.txt extension. I don't 'think' M$ carriage returns would choke the DB, but if the script or cron doesn't want to run, telnet into the box and run the dos2unix command on the relevant files, something like: dos2unix /etc/cron/crontabs/root dos2unix /usr/bin/camcheck For more details on cron use: -- hemi much better use nano.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |