Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable/Disable/Remove Shceduledtasks #13

Open
diogomelodantas opened this issue Jun 23, 2022 · 1 comment
Open

Enable/Disable/Remove Shceduledtasks #13

diogomelodantas opened this issue Jun 23, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@diogomelodantas
Copy link
Contributor

Scheduledtask are set through config file added to repository using the following format:

name rate(## minutes)/(cron expression) command

To enable or disable a task it should accept the following format:

name enable/disable rate(## minutes)/(cron expression) command

If a task is removed from file this task must be removed from eventbridge/ecs.

@diogomelodantas diogomelodantas added the enhancement New feature or request label Jun 23, 2022
@fagiani
Copy link
Member

fagiani commented Jun 24, 2022

For the removal part of this enhancement, in order to keep track of scheduled tasks created by maestro, we need to tag them accordingly when put-rule and it looks like the checking process would require a sequence of commands to list-rules and iterate over the result set with list-tags-for-resource and match the tag to decide when to remove-targets and delete-rule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants