[raspberry-vi] +X or 755

  • From: "Glenn K0LNY" <glennervin@xxxxxxxxxxxx>
  • To: <raspberry-vi@xxxxxxxxxxxxx>
  • Date: Sat, 17 Apr 2021 22:56:53 -0500

Hi,
I still haven't gotten my bash script to run on startup.
It runs if I run the script in the CLI.
I've read some pages that say make it executable with chmod 755 and some say 
use chmod +x 
I even saw one that said to use chmod a +x
Anyway, I've put it in rc.local and in crontab with paths.
In crontab I used @reboot before the path and script file.
I've looked at the adding it to the service file, and that seems more 
complicated than it should be.
Any help appreciated.
Glenn
=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: