Posts by fogonero

    LFC4EVER thanks, my bin is in /usr/bin/


    So did you get then?



    thanks

    hello friends
    This script looks at the process ps, a failure to uproot it:

    Code
    process=`ps auxwww | grep oscam | grep -v grep | awk '{print $1}'`
    if [ -z '$process' ]; then


    oscam often stops / hangs, but the process "ps" is still active, in fact in the webinfo is active, but in reality the server is off.


    the gentlemen teachers have if they could fix this problem.


    Thank you.

    edit: for I have been a disappointment, as I have seen today has broken the server, I waited for the script and kept giving false oscam.check log, "is still oscam OK!" when it was not so, there if you can see the possible fault.


    ferdi you can put your script?



    Thank you.

    edit: got! thanks thanks ferdi newtolinux Now I have this doubt:


    oscam.check grows the data that runs every five minutes, for example:


    oscam is still OK!
    oscam is still OK!
    oscam is still OK!
    oscam is still OK!
    oscam is still OK!


    How do I delete or limit in kbyte oscam.check not to grow?

    thanks newtolinux.


    chekoscam my script will be called, ckeckoscam.sh and I will get on this path / usr / script /, I understand then the custom command is this:


    /usr/script/chekoscam.sh ?????


    Thank you.

    need to know the custom cron command to run this script, I get data.
    vu + I have the bin path is / usr / bin / oscam, the route is configured / etc / tuxbox / config / log path is / var / log / oscam.log


    I put the script in / usr / script /


    but not put in the cron blackhole on display the custom command, a help please. Order what you wear?




    Thank you.