You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The environment variables mentioned should have those values assigned to them by default. I also verified on my end with my Debian GNU/Linux 10 "Buster" installation and the listed environment variables are indeed set to those values. With that said though, if such an issue were to arise for anyone in the future, what you've written here is a good reference point for those that are running bash scripts on other distributions! The default values of these environment variables can be found documented online as well. Lastly, the following terminal command and example(s) or line(s) of code can also be added directly to crontab to specify the specific shell and/or script path desired by the user:
I believe this is specific to Debian but cron would not run this script without designating the shell and path priority first:
SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/
Posting this for other noobs such as myself.
The text was updated successfully, but these errors were encountered: