Make Programs Start at Startup

The most close Linux and Unix trick to the Windows Scheduler is Cron. In this article I will show you how to make a list of startup programs and scripts

The ideea is simple. Create a list of programs and cron it to start them at reboot.

I have created the file /home/razvan/startup_list containing the paths my startup scripts:

$ cat /home/razvan/startup_list
/home/razvan/backup_script
/home/razvan/my_script1
/home/razvan/my_script2
/home/razvan/my_script3

Set execution rights on the file:

$ chmod +x /home/razvan/startup_list

To schedule these programs at startup, type crontab -e and write this:

@reboot /home/razvan/startup_list

Tagged with: , , , , , , , ,
Posted in The Linux and Unix Articles!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!