Terminating a scheduler type workflow

We have a scheduler type workflow started with a cron expression. Though the workflow worker is not running we see lot of workflows

These are scheduled to run every 1 min. Even if we try to terminate the current workflows, after a min, a new one i starting. How do we remove/disable this scheduler?

1 Like

I think there is some misunderstanding. Terminate does immediately stop the workflow including the cron one and the workflow stops running after termination has succeeded.

The cron is implemented internally as a workflow that calls continue as new on every cron invocation. This is what your screenshot demonstrates. Each of the workflows with status ContinuedAsNew represents a single completed invocation of the cron. These workflows are not running, they are records about the past invocations. Go to the open workflow listing to see the currently executing cron workflows if any.