Browse - Computer Tips - How can I run a script as a certain user when my computer reboots?

Date: 2015mar27
OS: Linux

Q.  How can I run a script as a certain user when my computer reboots?

A.  cron supports this.  Just run:

crontab -e
As the user you want and add:
@reboot <command>
for example:
@reboot echo We rebooted