[CentOS] Cronjob and sudo

Thu Feb 12 18:48:01 UTC 2015
Matthew Miller <mattdm at mattdm.org>

On Thu, Feb 12, 2015 at 12:32:12PM -0600, Matt wrote:
> I need to remove empty files out of a directory that are over 6 hours
> old so I created this script and put it in cron.hourly.

For what it's worth, we no longer have requiretty in the package in
Fedora, so eventually that change will probably make it down to CentOS.
Overall, security benefit vanishingly small and inconvenience high.

I do think that the suggestion of using /etc/cron.d and cron's own user
feature is better in this case, though.

-- 
Matthew Miller
<mattdm at fedoraproject.org>
Fedora Project Leader