Skip to content

Limit max executing time for cron tasks #35

Open
@fermion2020

Description

@fermion2020

Description of the feature
At times, I've encountered situations where cron tasks became unresponsive, causing numerous processes to run and hang indefinitely, thus consuming significant resources.

I believe implementing a maximum execution time limit for cronjobs using the timeout command is a prudent idea. This measure should prevent any potential issues, provided the timeout duration is reasonable. For instance, setting a timeout of 30 minutes for tasks scheduled every 5 minutes should ensure smooth operation without risking system stability.

Benftits of feature

Having better control of background tasks.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions