While i using the dagobah ,which is based on the web framework of flask,and python version should be 2.x , after the app run a long time,the whole web page will broken and i have no choice except for restart it , after the deep research ,i do not have the reason why .so i just decide to use the sanic to replace the flask to see if it will fix this bug.
- environment
- python:3.5.x
- mongodb:3.2.x
- docker-compose >= 1.11.2
- run with local
pip install git+https://github.com/BruceDone/py-dag.git
- please start the mongo instance
- please edit the
src\config.yml
MongoBackend section, update the host,port - install the package
pip install -r requirements.txt
python run_app.py
- open the 'http://0.0.0.0:9000' in your browser
- run with docker
- please install the docker ,and docker-compose
- run
docker-compose build
in your shell - run
docker-compose up -d
in your shell - open the 'http://0.0.0.0:9000' in your browser
- Manage multiple jobs scheduled with Cron syntax. Run times are shown in your local timezone.
- Tasks can be anything you'd normally run at a shell prompt. Pipe and redirect your heart out.
- Failed tasks don't break your entire job. Once you fix the task, the job picks up from where it left off.
- On completion and failure, Tiktok sends you an email summary of the executed job (just set it up in the config file).
- Tasks can even be run on remote machines (using your SSH config)
- Login
- Send Email
- Import and export job
- Remote task