go ahead... be a heretic | |
PerlMonks |
Re^5: Perl app won't compile /run from cronby huck (Prior) |
on May 24, 2018 at 23:25 UTC ( [id://1215181]=note: print w/replies, xml ) | Need Help?? |
That's a bug. No it is not a bug, cron was designed that way cron is designed to set up a minimal environment when it starts a cron job. It is not a login session so it does not add any environment settings specified via login-semantics such as found in rc files. it is up to you to set them up. The Cron Environment and Cron Job Failures discusses this in more depth.
In Section
Seekers of Perl Wisdom
|
|