[CentOS] CentOS 6: environment variables and cronjobs ...
Walter H.
walter.h at mathemainzel.infoThu Dec 1 15:28:28 UTC 2016
- Previous message: [CentOS] Recent updates for CentOS7?
- Next message: [CentOS] CentOS 6: environment variables and cronjobs ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, in /etc/cron.d/test I've this: 50 15 * * * root ( date ; echo "---" ; env ; echo "---" ; set ) >>/tmp/test.txt and I thought I would be shown environment variables which are defined in e.g. /etc/profiles.d/proxy.sh or /etc/profiles.d/proxy.csh but this isn't like this ... where do I have to define e.g. export http_proxy="http://proxy.local:3128/" in order to have it in cron jobs? Thanks, Walter
- Previous message: [CentOS] Recent updates for CentOS7?
- Next message: [CentOS] CentOS 6: environment variables and cronjobs ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list