Am 05.02.2015 um 18:46 schrieb LuKreme:
On Feb 5, 2015, at 2:28 AM, Reindl Harald <h.rei...@thelounge.net> wrote:
[root@srv-rhsoft:~]$ cat /etc/crontab
SHELL=/usr/bin/bash
PATH=/usr/bin:/usr/sbin
LANG=en_GB.UTF-8
MAILTO=root
HOME=/
PODCAST_THREADS=6

Ah, no, I’ve never touched /etc/crontab. I use sudo crontab -e to edit the 
user-level crontab for root. I consider /etc/crontab the system level crontab 
for root and I don’t touch that one.

there is a reason for the user column :-)

The PATH in /etc/crontab is not the PATH that was returned above, so it doesn’t 
look like the path in /etc/crontab carries forward to the other user crontabs

well, i use /etc/crontab exclusive and nothing else because it has a user-column and i see no reason to deal with a dozen of files defining cronjobs left and right while a simple "cat /etc/crontab" gives me a complete overview which tasks are running under which user and when

distribute-command.sh "grep 'apache' /etc/crontab" on the admin server gives me the grep over 10,20,30,100 machines - have fun doing that when every machine has other configs and snippets



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to