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

Allow removing tasks from current schedule #359

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Adee1499
Copy link

@Adee1499 Adee1499 commented Jul 1, 2022

Neither task.destroy() nor task.stop() were effective in removing tasks from the schedule. node-cron.remove(task) will remove the passed task from the schedule.

Neither task.destroy() nor task.stop() were effective in removing tasks from the schedule. node-cron.remove(task) will remove the passed task from the schedule.
@brian-geoghegan
Copy link

Curious if this is still open or being worked on? AN enhancement would be, remove a task by name, the name is was created with in the options of the cron.schedule

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

Successfully merging this pull request may close these issues.

None yet

2 participants