[CDBUG-talk] Stupid question

Patrick Muldoon doon at inoc.net
Thu Sep 1 15:54:21 EDT 2016


> On Sep 1, 2016, at 3:45 PM, freebsd at fongaboo.com wrote:
> 
> I guess I knew that... But what are the differences/pros/cons to editing /etc/crontab vs. running crontab -e... AS ROOT??

I not sure there are really much differences per se. I like to put all system specific stuff in /etc/crontab with the user specified so that I can see everything in 1 place, as opposed to having to do something like   crontab -e, crontab -u www -e , etc..

but AFIAIK cron just mashing them all together and runs them.  

On shared hosting boxes  I tend to touch /etc/cron/allow  to prevent all users from randomly creating events in cron, and only override it if they ask nicely.. 


 
-Patrick


--
Patrick Muldoon
Network/Software Engineer
INOC (http://www.inoc.net)

Please send all spam to my main address, root at localhost






More information about the CDBUG-talk mailing list