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

Re: PROPOSAL to serialize cron.{daily,weekly,monthly}



Hi,

when thinking about serialization it might make sense to consider two
types of cron jobs:

1. jobs that should run at a specific time (e.g. exactly at midnight)
2. jobs that may run at any time

Log file rotation belong to 1.while zipping the logs is of category 2.
You won't serialize jobs of group 1.

We use to run a couple of "virtual" servers (www.linux-vserver.org)
on a single hardware. It is essential here to serialize the cron jobs
of the virtual servers (otherwise you get a dozen of updatedb processes
running at the same time). We manage this by variation of the
run-parts times in /etc/crontab. Cron jobs of group 1. have to be
identified and treated seperately.

It would be nice if debian itself would distinguish between cron jobs of
category 1 and 2.

Cheers, Thomas



Reply to: