[Backgroundrb-devel] Jobs running too slow
gethemant at gmail.com
Fri Dec 21 05:07:04 EST 2007
On Thu, 2007-12-20 at 23:17 -0800, Joe Van Dyk wrote:
> Say I have a job that runs every minute, but it takes longer than a
> minute to execute. Will it start a new job every minute?
> If it does, then how would I make a job that sleeps for a certain
> amount of time, then restarts? I have a job that could take an hour
> or two to complete, and I don't want to have multiple copies of that
> job running at the same time.
If your job takes longer than a minute to complete and yet you are
scheduling it with an interval of one minute and you don't want it to
run concurrently, seems like an mutually exclusive case. :)
More information about the Backgroundrb-devel