Timeline for Absolute path in bash scripts
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 6, 2017 at 18:37 | vote | accept | Elastic Lamb | ||
| Feb 6, 2017 at 18:31 | comment | added | DopeGhoti |
Cron's very limited environment is for security reasons. You can see (and fiddle with, if you like) them in /etc/default/cron.
|
|
| Feb 6, 2017 at 18:28 | comment | added | Elastic Lamb |
Thank you! But why they have varying PATHs? I thougt that the script runs "directly" from the users bash in the background.
|
|
| Feb 6, 2017 at 18:24 | history | answered | DopeGhoti | CC BY-SA 3.0 |