tutorial script on server oscam pc

There are 2 replies in this Thread which was already clicked 1,175 times. The last Post () by rri973.

  • hello
    (I am a beginner linux)
    I have already read several posts, but I still not understand the method to
    Start a script
    I have a pc oscam server sometimes crashes the weblf and I want the oscam starts again.
    I downloaded a script on forum
    but I am unable to make it work (there is no effective tutorial for beginners)


    method to install a script (the one made by the method weblf I understood and it is simple) but weblf can not control itself, so I should I use another method of monitoring the weblf!
    1) where I have to install the script file?
    2) I have to give it a name like xxxxxx.sh? (eg: updateweblf.sh?)
    3) in which directory should I put it?
    4) any other file must start I have to modify it works subtask
    thank you
    (I'm still looking for a good explanation on other forums and posts)

    la terre est un livre ouvert

    • Official Post


    Name your script e.g OscamCheck.sh & put it in a directory e.g /var/script/
    Make it executable (chmod 755)
    You then make it run for example every 5 mins, by editing the crontab file ect/crontab like this.


    Code
    */5 * * * * root /var/script/OscamCheck.sh



    [h=1]Linux Cron Guide[/h]

OSCam Support Forum

Configs, discussion, downloads and guides for OSCam Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!