ArchiveBot icon indicating copy to clipboard operation
ArchiveBot copied to clipboard

Allow pipeline to reject jobs not targeted to it

Open ivan opened this issue 10 years ago • 3 comments

Sometimes I need to start a custom pipeline for a specific website, but if there's stuff in the ArchiveBot queue, it fills up the pipeline with other crawls. Maybe this use case needs a --reject-untargeted-jobs option?

ivan avatar May 31 '14 02:05 ivan

Yeah, I've run into this use case before. Maybe --exclusive?

hannahwhy avatar May 31 '14 04:05 hannahwhy

--vip very important pipeline, just kidding

ivan avatar May 31 '14 04:05 ivan

--pipeline takes precedence over jobs without that option, so queueing a job with that option using the name of the special pipeline you're about to start works for this.

It might still be useful though to run pipelines that don't accept jobs from the general pending queue but only jobs queued with --pipeline.

JustAnotherArchivist avatar Dec 25 '18 00:12 JustAnotherArchivist