[GH-ISSUE #204] [FEATURE REQUEST] UnRegister function to unregister task entries #1082

Closed
opened 2026-03-07 22:05:25 +03:00 by kerem · 2 comments
Owner

Originally created by @sujit-baniya on GitHub (Oct 14, 2020).
Original GitHub issue: https://github.com/hibiken/asynq/issues/204

Originally assigned to: @hibiken on GitHub.

New Scheduler functionality is quite awaited feature. Maybe you would consider following functionalities:

  • RemoveEntry or UnRegister function to remove entry by entryID. So instead of stopping cron and manually removing the entries maybe it could be done with a function
  • View Entries by time period. For e.g. Entries for @every 30s, Entries for @daily

Also this will allow possibility to handle CRON via REST or any other services

Originally created by @sujit-baniya on GitHub (Oct 14, 2020). Original GitHub issue: https://github.com/hibiken/asynq/issues/204 Originally assigned to: @hibiken on GitHub. New Scheduler functionality is quite awaited feature. Maybe you would consider following functionalities: - `RemoveEntry` or `UnRegister` function to remove entry by `entryID`. So instead of stopping cron and manually removing the entries maybe it could be done with a function - View Entries by time period. For e.g. Entries for `@every 30s`, Entries for `@daily` Also this will allow possibility to handle CRON via REST or any other services
kerem 2026-03-07 22:05:25 +03:00
Author
Owner

@DemonTPx commented on GitHub (Mar 9, 2021):

Hi @hibiken, Would you please reconsider reopening and merging the Unregister method PR?

In our project we would like to be able to change the cronspec of existing schedulers. This could be achieved by being able to unregister the scheduled task and rescheduling it.

Your PR seemed to me of perfect use in our project.

<!-- gh-comment-id:793722002 --> @DemonTPx commented on GitHub (Mar 9, 2021): Hi @hibiken, Would you please reconsider reopening and merging the `Unregister` method PR? In our project we would like to be able to change the cronspec of existing schedulers. This could be achieved by being able to unregister the scheduled task and rescheduling it. Your PR seemed to me of perfect use in our project.
Author
Owner

@hibiken commented on GitHub (Mar 9, 2021):

@DemonTPx thanks for the comment.
I'll revisit this feature again this week 👍

<!-- gh-comment-id:794033145 --> @hibiken commented on GitHub (Mar 9, 2021): @DemonTPx thanks for the comment. I'll revisit this feature again this week 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#1082
No description provided.