Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 338 Bytes

task.md

File metadata and controls

20 lines (14 loc) · 338 Bytes

Task

crontab

# list cron tasks
crontab -l

# edit cron tasks
crontab -e

# run at 09:20:00
20 9 * * * cd ~/rust_example/bktrader/src/python && ~/envs/duck/bin/fastapi run web.py

# run at reboot
@reboot cd ~/rust_example/bktrader/src/python && ~/envs/duck/bin/fastapi run web.py