aptible / supercronic

Cron for containers
MIT License
1.86k stars 113 forks source link

Make wait period of "job still running" adjustable #142

Open matthias-adrowski opened 10 months ago

matthias-adrowski commented 10 months ago

Hi,

first of, great library, i quite enjoy using it.

But for my use case i miss a feature of changing the wait time for the "job still running" message. In our case we are using supercronic as a way for the system to schedule a job, where a framework also has another scheduling implementation.

In that case it is possible, that task inside the framework scheduling have varying times of running, sometimes they are to be called each minute, sometimes they are less frequent, and sometimes they even might be less-frequent, but long running task.

In my current case there is such a task, that takes longer then the given 30 Minutes of maximum wait time, espacially on one of our environments, causing the container to shutdown because i have supercronic running inside a supervisor. Would it be possible to provide an option to allow for longer wait times?