I have some old cron scripts which ran fine under FreeNAS 11.1. After upgrading to 11.3 they all failed.
It seems that in cron jobs, the environment variable $HOME is now set to / for root, instead of the real root user home dir /root, as defined in /etc/passwd.
Is it a bug or a feature ? :)
It seems that in cron jobs, the environment variable $HOME is now set to / for root, instead of the real root user home dir /root, as defined in /etc/passwd.
Is it a bug or a feature ? :)