You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can access the mongoSkin connection using agenda._db and call .remove() from there. It does cause some very weird issues if you continue to run agenda.
A better option to remove it out of your DB is to use the mongo shell. Something along these lines:
$ mongo <db-name>
> db.agendaJobs.remove()
This will remove all the agenda jobs defined though. If you only want to remove one, you can query by their name with .remove({"name" : "nameOfJob"}) in the above query.
I had a look through the documentation and code but couldn't find any way to remove jobs?
I created a task and had it running every 10 seconds but decided I want to call it manually, however it keeps running!
I tried
Job#remove
as mentioned in #26 but that doesn't exist:[TypeError: Object #<Job> has no method 'remove']
The text was updated successfully, but these errors were encountered: