crontab Qs: what is "run-parts" & how 2 display all crontabs?
From: Matt (matt_at_downwithspammers-mengland.net)
Date: 10/31/04
- Next message: Lenard: "Re: FC2 up2date libxslt does not down load"
- Previous message: LaDainian Tomlinson: "Re: strange stuff with digital camera"
- Next in thread: Dances With Crows: "Re: crontab Qs: what is "run-parts" & how 2 display all crontabs?"
- Reply: Dances With Crows: "Re: crontab Qs: what is "run-parts" & how 2 display all crontabs?"
- Reply: Peter T. Breuer: "Re: crontab Qs: what is "run-parts" & how 2 display all crontabs?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 31 Oct 2004 11:58:12 -0600
Hello,
I have the following 2 crontab questions I have to resolve in my
man-page reading. Can anyone help me with these?
1) Where can I read about the general format spec of my /etc/crontab,
and specifically, what does the "run-parts" text mean in my
/etc/crontab below? I see from the file that it appears to be running
the scripts in the directories hourly, daily, etc. However, I would
like to read "chapter and verse" in a crontab spec how this is
supposed to work. I wanted to see something in the man page like
"with the 'run-parts' directive, crontab runs script in each directory
[...]," but I saw no such thing. Any pointers or references would be
greatly appreciated.
2) How can I display all the crontabs for every account? Something
analogous to 'crontab -u * -l' ...which does not work.
Thanks for any help,
-Matt
12:52pm [~] 12> uname -rs
Linux 2.4.20-021stab022.6.777-enterprise
12:52pm [~] 13> cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
12:52pm [~] 14>
- Next message: Lenard: "Re: FC2 up2date libxslt does not down load"
- Previous message: LaDainian Tomlinson: "Re: strange stuff with digital camera"
- Next in thread: Dances With Crows: "Re: crontab Qs: what is "run-parts" & how 2 display all crontabs?"
- Reply: Dances With Crows: "Re: crontab Qs: what is "run-parts" & how 2 display all crontabs?"
- Reply: Peter T. Breuer: "Re: crontab Qs: what is "run-parts" & how 2 display all crontabs?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|