Hi Stephane, 

Yes crontab will work. I've also found that rc.local did run only for some 
reasons it couldn't execute my scripts, I'd look into that further. Thanks 
for the help!


On Tuesday, November 29, 2016 at 2:15:34 AM UTC+8, Stephane Charette wrote:
>
> I am trying to run some simple startup shell scripts when the system boots.
>>
>
> One thing I tend to use is the @reboot keyword in cron.  For example:
>
> *cat /etc/cron.d/startup_scripts*
> MAILTO=""
> PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
>
> @reboot root /home/stephane/scripts/check_for_upgrade.sh
> @reboot root /home/stephane/scripts/startup_commands.sh
>
> Stéphane
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/4f0807b1-7a88-4ab5-b48f-ee5cf70abac4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to