Categories:


- System -

- Internet -

- Video -

- Audio -

- Pictures -

- Other -


HOW TO install Ubuntu - complete guide

List of everyday used applications (in process)








HOW TO start script at boot



To start script at boot type:

crontab -e

Now go to the bottom of the document and type:

@reboot /path/to/my/script/myscript

If you want to start script that needs to run sudo command start crontab with sudo, like:

sudo crontab -e

With crontab you can also start a script at every minute (m), every hour (h), day of the month(dom), month of the year(mon), day of the week (dow 0=Sunday).

I doubt you can start computer with it but you can shut it down every day at 20:00 by adding following line to crontab:

0 20 * * * /sbin/shutdown -h now




You can leave a comment at the homepage.



SEARCH



  • Ubuntu official

  • Ubuntuguide, helps you start using Ubuntu

  • Order latest Ubuntu cd at your doorstep, for FREE


  • If you have problems installing programs with 'apt-get' or 'aptitude' be sure you have enabled universe repositories.
    Click here to see how to enable them.