Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
You can run scripts via cron (Raspbin is Linux)
The main thing is that the script is executable. You can check with ls -lh.
Wherever you want, store it there, but it would be convenient to create a scripts folder in your home directory. Centralized and convenient.
IMHO, anywhere. Usually either in your home folder or /usr/local/sbin:
The main thing is that there would be access and for convenience, the folder can also be listed in PATH.
well, run (if they have an executable bit) - just specifying the name in the path.
example /home/my_user/scripts/my_script.sh you can check the bit (as Ivan Kuznetsov
already wrote ) via ls -l (execute the command in the directory with scripts, or specify the path - i.e. either cd /home/my_user/scripts/ && ls -l or ls -l /home/my_user/scripts/)
you can set the bit with the command chmod +x ( chmod +x /home/my_user/scripts/my_script.sh)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question