View Single Post
  #4  
Old 08-10-2015, 06:39 PM
Flopz
Fire Beetle
 
Join Date: May 2007
Posts: 13
Default

What you want is for your init process to run it, not cron. Cron can do it but it's basically a hack.

If your version of Debian uses systemd, you'll want to make a unit file. You can see the ones I'm using in my post history.

If it's using sysvinit still, you'll want either a /etc/init.d script or to put it in your /etc/inittab. The latter will ensure that it starts back up if it crashes.
Reply With Quote