Understanding this script

There is 1 reply in this Thread which was already clicked 1,324 times. The last Post () by codar.

  • hi lads
    ive got this script on my ubuntu server 14.4 oscam 10077 and could do with a bit of help understanding it, ive copied it off "thatfellow"
    i only have oscam installed no ccam and i dont want to auto update oscam to the latest one if that command is in here


    59 23 * * * root /var/script/oscam-backup.sh (does this mean it will back up oscam at 23.59 at night)
    57 06 * * * root killall cccam_2.1.3 (i only have oscam installed so can i delete this entry)
    57 06 * * * root killall oscam (this stops oscam)
    57 06 * * * root /var/script/configupdate.sh >> /var/cccamlog/configupdate.log (can this line be deleted)
    57 06 * * * root /var/script/keyupdater.sh
    58 06 * * * root /usr/local/bin/oscam -b (this restarts oscam)
    59 06 * * * root /usr/local/bin/cccam_2.1.3 (i only have oscam installed so can i delete this entry)
    */5 * * * * root /var/script/CCcamCheck.sh (i only have oscam installed so can i delete this entry)
    */5 * * * * root /var/script/OscamCheck.sh (this line checks to see if oscam is running)
    03 07 * * 6 root /var/script/LogCleanUp.sh >> /var/cccamlog/CleanUp.log (this line deletes the log)


    also reading "thatfellows" tuts he mentions he restarts oscam every night and reboots his server everyday, but ive also read peeps leave thereson 24/7 what advantages/dis advantages is there to rebooting every night or leaving on 24/7

  • This guide will help explain how crontab is configured:
    http://linuxsat-support.com/showthread.php?t=14263&highlight=crontab
    I would think anything to do with cccam can be removed if your not running it on your server.


    Quote

    also reading "thatfellows" tuts he mentions he restarts oscam every night and reboots his server everyday, but ive also read peeps leave thereson 24/7 what advantages/dis advantages is there to rebooting every night or leaving on 24/7


    Advantages may include clearing tmp logs etc..
    Disadvantages maybe mixing up card readers (if more than one of the same type are connected although it is possible to lock them to specific usb ports)
    http://linuxsat-support.com/showthread.php?t=3663&highlight=udev+rules

    iBffBYU.png

    Edited once, last by codar ().

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!