Re: packaging cronjob, run as non-root user

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

 



On 11/17/2016 04:31 PM, Randall Wood wrote:
> Is there any reason you can't specify the user instead of root in the cron file?

Well, I can, but:

[quote]
Packages with cron job files must place those cron job files into one or
more of the following directories /etc/cron.hourly, /etc/cron.daily,
/etc/cron.weekly, /etc/cron.monthly depending on the intended interval
they should run.

There is an exception to this rule: If a certain cron job has to be
executed at some frequency or at a specific time interval other than the
above, then a custom crontab file should be added to /etc/cron.d (with
0640 permissions).
[/quote]

Running it as a different user is not specified as a reason to use
cron.d :-)

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