[HOW TO] run a script on startup of Ubuntu?

Aforetime I frequently write a article about technology, tip which I want to share with everybody.

Today, I come back with the article about: How to run a script on startup of Ubuntu?

You use the crontab

crontab -e

Adding a line like this:

@reboot /your_path/your_script.sh

It will execute that script once your computer starts.




Thank you for reading this article, please a comment if you are interested.
Tiến Phan - R0039
Knowledge is Endless
Sharing for Success





0 nhận xét:

Post a Comment