sudo cp /etc/init.d/skeleton /etc/init.d/<jobname>
  • Edit it to give the path and arguments
sudo vi /etc/init.d/<jobname>

That's all. The job will run from the next time the system starts.




sudo cp /etc/init.d/skeleton /etc/init.d/<jobname>
sudo vi /etc/init.d/<jobname>

That's all. The job will run from the next time the system starts.