launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #04658
Re: generic job queue cronjob?
On Fri, 17 Sep 2010 11:05:22 Edwin Grubbs wrote:
> Since the job queue system just requires a run() method to do the
> actual work, I'm surprised that there isn't a cron script that runs
> any job type that doesn't opt to use its own cron script. As it is
> now, any new job table needs a new script, and that means a new
> database user also has to be added. Is there any reason we don't have
> a generic cron script already? A single cron script would also make it
> easier to control how many jobs are being run in parallel, and that
> would help prevent overloading the system, which would in turn help
> accurately estimating the time till a job is finished.
>
> -Edwin
Over time the job runner has become more and more generic.
Aaron and I have discussed the ability to have a generic job running cron
script now that almost everything could be configured through the command line.
We agreed that it is now possible and even desirable, but we only have square
tuits.
Tim
Follow ups
References