>> 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. https://bugzilla.redhat.com/show_bug.cgi?id=1020147#c9 Surprised its still in Centos 7 actually. > I do think that the suggestion of using /etc/cron.d and cron's own user > feature is better in this case, though.