Restart CCcam every hour

iDevice-pictogram Restart CCcam every hour

Because CCcam over time are going to use a lot of memory (and less stable) let me Cccam every night for 4 hours to restart.
Create a cron job:
sudo crontab –e

00 04 * * * killall CCcam.x86 && /usr/local/bin/CCcam.x86

Example

ctrl o save

and hit Enter

ctrl x exit

Look if it works in /var/log/syslog

 

You can also every hour it looks like this: (EXAMPLE)

00 01 * * * killall CCcam.x86 && /usr/local/bin/CCcam.x86

00 02 * * * killall CCcam.x86 && /usr/local/bin/CCcam.x86

00 03 * * * killall CCcam.x86 && /usr/local/bin/CCcam.x86

Or every half our looks like this:(EXAMPLE)

00 04 * * * killall CCcam.x86 && /usr/local/bin/CCcam.x86

30 04 * * * killall CCcam.x86 && /usr/local/bin/CCcam.x86

00 05 * * * killall CCcam.x86 && /usr/local/bin/CCcam.x86

30 05 * * * killall CCcam.x86 && /usr/local/bin/CCcam.x86