Quantcast
Channel: Run bash_profile in cron job - Server Fault
Viewing all articles
Browse latest Browse all 4

Answer by Khaled for Run bash_profile in cron job

$
0
0

If you want to include the variables in the .bash_profile file, you need to source it in your script.

Simply executing the script will not include the exported variables.


Viewing all articles
Browse latest Browse all 4