adamkewley / jobson

A platform for transforming command-line applications into a job service.
Apache License 2.0
256 stars 20 forks source link

Add support for "can execute" logic #31

Closed adamkewley closed 6 years ago

adamkewley commented 6 years ago

Some jobs might require clusters/services, which go down from time to time. Instead of running the job, some kind of provision for declaring that something can be executed would be useful - although this might require background polling.

adamkewley commented 6 years ago

Although, thinking on it (for one minute), this might be something implementers should do in their downstream scripts (e.g. while (cluster is down) { sleep(some_period); }). This would be more transparent than having a whole extra pipeline + poller, etc.