- How can I run a script as a certain user when my computer reboots?
How can I run a script as a certain user when my computer reboots?
cron supports this. Just run:
As the user you want and add:
@reboot echo We rebooted
Copyright © 2008-2021, dave. Code samples on Dave's Brain is licensed under the
Creative Commons Attribution 2.5 License.
other material, including English text has all rights reserved.