[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SAGE] crontabs vs /etc/cron.[daily,hourly,*] vs. /etc/cron.d/



On a more specific aspect of this (without regard to best practice), does anyone know of a tool that converts crontabs into Gantt charts?

I've always wanted to visualize how the crontab jobs (on a set of machines) line up in time. Each entry would need to be supplemented with an estimate of the duration of the job (3 minutes vs 3 hours).

JM


Dustin J. Mitchell wrote:
On Jan 8, 2008 9:53 PM, Dustin Puryear <dustin@xxxxxxxxxxxxxx> wrote:
1. normal use of crontabs
2. creating a crontab-like entry in a file in /etc/cron.d/
3. creating symlinks to your scripts in /etc/cron.hourly/,
/etc/cron.daily/, etc. (I'll just say /etc/cron.daily to be short.)
4. /etc/crontab for the root user being able to run cron jobs as any
user, unlike /etc/cron.d/ and /etc/cron.daily/.

I consistently prefer /etc/crontab.  When I have a box that's doing
something funny at 2:35am every morning, it's much easier to look in
just one place.  It's also easier to make sure that crontasks aren't
stepping on one anothers' toes that way.

The directories are really only useful for distro authors, who need a
flexible way to add and remove tasks for particular applications.

Dustin (the other Dustin)