Re: packaging cronjob, run as non-root user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux