RFE: Implement Maximum Execution Limit for Scheduled Successful Jobs #15125
Labels
community
component:api
component:awx_collection
issues related to the collection for controlling AWX
component:docs
component:ui
type:enhancement
Please confirm the following
Feature type
New Feature
Feature Summary
Context:
The current version of AWX allows users to schedule job executions, but it does not offer a way to automatically disable these schedules after a certain number of successful executions. This enhancement proposes adding a feature to limit the maximum number of executions for a schedule. For example, a user could set a schedule to run a job three times every day, but after a total of nine successful executions, the schedule should automatically disable itself. This feature would be particularly useful in managing resources and ensuring that tasks do not run indefinitely.
Consider a scenario where schedules are dynamically generated to perform specific checks a few times a day over several days. After the desired number of checks, it would be beneficial for the schedule to deactivate automatically.
Schedules in AWX function similarly to a distributed cron job. By implementing this feature, it would be akin to having a distributed version of the "at" command, enhancing the flexibility and control over task executions in AWX.
Use Case:
This feature would be beneficial in scenarios where a task is required to run only a limited number of times, such as:
Impact:
Select the relevant components
Steps to reproduce
RFE
Current results
RFE
Sugested feature result
RFE
Additional information
No response
The text was updated successfully, but these errors were encountered: