When a cron job is disabled, delete it from spectre's queue, but do not re-add it. Fixes bug #11422
This commit is contained in:
parent
2d819f14b8
commit
a63a70b8bd
2 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
|||
- fixed #11415: Wiki - Edit page appearing below the content
|
||||
- fixed #11414: SQLReport Pagination Setting
|
||||
- fixed #11420: Snippet not save mimetype
|
||||
- fixed #11422: Disabled scheduled task run by spectre
|
||||
|
||||
7.8.12
|
||||
- fixed #11285: Pasting HTML into Code Editor in IE
|
||||
|
|
|
|||
|
|
@ -309,6 +309,7 @@ sub set {
|
|||
my $spectre = WebGUI::Workflow::Spectre->new($self->session);
|
||||
$self->session->db->setRow("WorkflowSchedule","taskId",$self->{_data});
|
||||
$spectre->notify("cron/deleteJob", $self->session->config->getFilename."-".$self->getId);
|
||||
return unless $self->get('enabled');
|
||||
my %params = %{$self->{_data}};
|
||||
$params{parameters} = $self->get("parameters");
|
||||
$params{config} = $self->session->config->getFilename;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue