Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Windows] Stop does not work for running steps (status changes only after killing the process) #1207

@Kaiden0001

Description

@Kaiden0001

On Windows, stopping a running job does not terminate the Python process.
The job continues to run, and its status in the UI remains "Running" until the process is manually killed from Task Manager. Only after the process is killed does the job status change.

schedule: "0 9,23 * * *"
env:
  - BASE_DIR: C:\projects
  - REPO_NAME: name
  - PROJECT_PATH: ${BASE_DIR}\${REPO_NAME}

steps:
  - name: обновляем конфиг
    dir: ${PROJECT_PATH}
    command: pipenv run python fix_provider_config.py

  - name: Запускаем приложение
    dir: ${PROJECT_PATH}
    command: pipenv run python main.py research collect
    retryPolicy:
      limit: 0
      intervalSec: 5
    continueOn:
      failure: true

  - name: Запускаем provider
    dir: ${PROJECT_PATH}
    command: pipenv run python analyser.py
    depends:
      - Запускаем приложение

Dagu version: 1.21
OS: Windows server

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions