On 11/18/2016 04:36 PM, Matthew Miller wrote:
One possibility would be to use `su -c` in your script in /etc/cron.daily. This preserves the advantage of flexible timing.
Yeah, that is what I was investigating before, but because the user in question (apache) does not have a shell that doesn't seem to work so well, maybe you can override this again, but that would not make stuff any cleaner.
I solved it now by placing a file in /etc/cron.d and also using the RANDOM_DELAY option there.
Cheers, François