On Thu, Nov 17, 2016 at 04:27:47PM +0100, François Kooman wrote:
I'm trying to package a cron file after reading [1], but I am wondering what the best approach is to run a cronjob not as root while still using the /etc/cron.daily folder.
One possibility would be to use `su -c` in your script in /etc/cron.daily. This preserves the advantage of flexible timing.