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