Copyright © 2008-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
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 -eAs the user you want and add:@reboot <command>for example:@reboot echo We rebooted
Add a commentSign in to add a comment