mirror of
https://github.com/plashchynski/crono.git
synced 2026-01-14 14:23:27 +01:00
jobs cleanup #14
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jalberto on GitHub (Apr 10, 2015).
When a job is removed from crontab.rb, it must be "marked" as disable or similar so it doesn't run next time
@plashchynski commented on GitHub (Apr 10, 2015):
Fair enough, we will implement it in the next release.
@jalberto commented on GitHub (Apr 10, 2015):
great news :)
Probably will be useful to add a flag to each job, so job can be disabled without removing, eg:
with a sensible default to :active
Then on crono start (or on demand) every job marked to remove can be deleted
@carolyn-idi commented on GitHub (Dec 1, 2015):
I've looked through the documentation and can not find a way to kill this process. I ran
bundle exec crono -d. Is there a way to kill this process? Any help would be greatly appreciated. Thanks!@plashchynski commented on GitHub (Jun 26, 2016):
@ceospfx you could kill the process using the
killcommand and pid file:@arronmabrey commented on GitHub (May 1, 2018):
Until this feature is implemented the manual way to remove one of the old jobs that still shows up in the web ui. Just grab the name/title of the job and hop in a rails console and run: