On Thu, 11 Apr 2019 at 09:34, Software Info <softwareinfo...@gmail.com> wrote: > > I see. I had however copied the output of env to the etc/crontab PATH line. > Wouldn’t that care for an environment issue though?
When I say "environment", I mean it in the generic sense; including working-directory. However, best practise is to keep /etc/crontab as minimal as possible, and to set up environ(7) within the invoked script-file. Security-wise, you should just keep PATH in /etc/crontab to the standard, and invoke your script with: * * * * * user /path/to/my/script This is especially important when running as root. Cheers. -- Jonathan Chen <j...@chen.org.nz> _______________________________________________ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"