[vserver] Guest hourly/daily/... cron job parallel execution

From: Fiedler Roman <Roman.Fiedler_at_ait.ac.at>
Date: Thu 17 Jan 2013 - 08:43:21 GMT
Message-ID: <2ECE9D9EEF1F524185270138AE232659836965@S0MSMAIL112.arc.local>

Hello List,

What would be the most suitable solution to avoid high load/overlong cron job execution for hourly/daily/... jobs? When using similar vservers, all of them would start those jobs at the same time.

Currently I'm using a script on the host to run no more than N guest hourly/daily/... jobs in parallel.

Is that a good solution to the problem?
If not, what would be better?
If yes, add the script to vserver-utils? Apart from that, the current approach allows the host to detect, when all guest dailies have completed, so that it can start actions that need to be run after all those e.g. guest backup-prepare before backup start on host.

Roman
Received on Thu Jan 17 08:43:30 2013

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 17 Jan 2013 - 08:43:30 GMT by hypermail 2.1.8