Crontab Question
Hello All,
I have a crontab related question which I am hoping someone can answer. I recently took over a Redhat Enterprise 5 Server, and I was told by the previous Server Admin that there is a cron job that does the backups. I ran the following command to get a list of all users: Code:
cat /etc/passwd | grep "/home" |cut -d: -f1 Code:
crontab -u USER -l What am I missing here? Any help would be much appreciated. Thanks, Pete |
Take a look in the
Code:
/etc/cron* |
Quote:
Also, how do I find out what user the script executes under (is it the Owner user of the file)? Do any script files created in cron* folders automatically execute without entering crontab entry for them? Thanks, Pete |
Take a look at
http://www.debian-administration.org/articles/56 Best is to look at the script, to see what it does. Files in cron.* are mostly executed as root, unless another user is setup in the script. |
Hi,
Check this file /etc/crontab |
I believe you're using vixie-cron which executes those directories as part of it's responsibilities without needing a system crontab.
Regards, Alunduil |
Quote:
Quote:
|
All times are GMT -5. The time now is 09:21 PM. |