We have experienced some issues with the KNIME scheduler recently. When we schedule a KNIME job, we select the option to “Skip the execution if previous job is still running”.
In doing so it does skip the execution if previous job is still running but it DOES NOT enable the schedule again(or disables it completely) and keeps skipping the schedule. Is it the expected behavior from the scheduler? A sample excerpt from the log is below.
21-Jun-2018 14:14:00.527 INFO [KNIME-Job-Scheduler_1] com.knime.enterprise.server.jobs.ScheduledJobManagerImpl.loadAndExecute Scheduled job for ‘Workflow ‘/WorkflowCategory/WorkflowJobName’; resetting; discarding after execution; target name = Workflowname; next execution at 2018-06-21T14:15-07:00[America/Los_Angeles], repeating every minute; User: Username; ID: d20fb4e3-03a1-4b21-9b81-ce5cdc43c5d5’ is still running, skipping current execution.
This kind of log is created every time the workflow is trying to execute even if the previous execution is completed.
In our used case we have certain workflows scheduled to be executed every 5 mins. If any of the execution takes more than 5 mins the other execution does not start(as expected) but even if the workflow has been fully executed the following execution schedules are not triggered(not expected) and it gives a log as mentioned above.
Any help in understanding this behavior is appreciated.