[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Q: halt after some time
From: |
Joe Sapp |
Subject: |
Re: Q: halt after some time |
Date: |
Thu, 24 May 2018 21:04:08 -0400 |
Have you considered something like `sleep 10h && kill $PARALLEL_PID`
where you would have to fill in PARALLEL_PID each day? If you use
--joblog you could --resume each day.
Joe
On Wed, May 23, 2018 at 7:30 PM, Taewon <tkang007@gmail.com> wrote:
> Hi there,
>
> I am looking for any way to stop new job starting after some time. But
> waiting already running jobs without killing.
>
> halt and timeout option might not profer option for my case.
>
> All 100+ jobs could be 1+ days, but want to halt after 10 hour per day.
> Next day run will not include already finished jobs. Each job's elaped time
> could not be estimated in advance.
>
> What is recommanded way with parallel or other options?
>
> Thanks,
> Taewon