sudo cp /etc/init.d/skeleton /etc/init.d/<jobname>
sudo vi /etc/init.d/<jobname>
sudo update-rc.d test.sh defaults
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>
sudo update-rc.d test.sh defaults
That's all. The job will run from the next time the system starts.