feat(cron): Bithumb cron 비활성화·재활성화 지원
example 기본 주석 처리와 install_crontab --disable/--enable로 다운로드·거래·모니터 cron을 안전하게 끄고 켤 수 있게 한다. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,17 +1,23 @@
|
||||
# Bithumb vol_breakout 운영 cron (install_crontab.sh 로 등록)
|
||||
# 프로젝트: /Users/dsyoon/workspace/bithumb
|
||||
# Python: BITHUMB_PYTHON 또는 coin/ncue conda (scripts/_cron_env.sh)
|
||||
#
|
||||
# 활성화: 아래 cron 줄 맨 앞 # 제거 후
|
||||
# bash scripts/install_crontab.sh --apply
|
||||
# 비활성화(주석): bash scripts/install_crontab.sh --disable
|
||||
# 제거: bash scripts/install_crontab.sh --remove
|
||||
|
||||
# 캔들 증분 (TRX,NEAR,WLD × DOWNLOAD_INTERVALS) — 매 1분
|
||||
* * * * * /Users/dsyoon/workspace/bithumb/scripts/00_run_download_cron.sh >> /Users/dsyoon/workspace/bithumb/data/common/download_cron.log 2>&1
|
||||
# * * * * * /Users/dsyoon/workspace/bithumb/scripts/00_run_download_cron.sh >> /Users/dsyoon/workspace/bithumb/data/common/download_cron.log 2>&1
|
||||
|
||||
# vol_breakout 15m flip tick — 매 1분
|
||||
* * * * * /Users/dsyoon/workspace/bithumb/scripts/3_run_vol_breakout_cron.sh >> /Users/dsyoon/workspace/bithumb/data/spot/operations/vol_breakout_cron.log 2>&1
|
||||
# * * * * * /Users/dsyoon/workspace/bithumb/scripts/3_run_vol_breakout_cron.sh >> /Users/dsyoon/workspace/bithumb/data/spot/operations/vol_breakout_cron.log 2>&1
|
||||
|
||||
# vol_live 모니터 JSON/HTML 백업 갱신 — 5분마다
|
||||
*/5 * * * * /Users/dsyoon/workspace/bithumb/scripts/3_run_vol_monitor_cron.sh >> /Users/dsyoon/workspace/bithumb/data/spot/operations/vol_monitor_cron.log 2>&1
|
||||
# */5 * * * * /Users/dsyoon/workspace/bithumb/scripts/3_run_vol_monitor_cron.sh >> /Users/dsyoon/workspace/bithumb/data/spot/operations/vol_monitor_cron.log 2>&1
|
||||
|
||||
# 모니터 HTTP 서버(8766) — 터미널: python scripts/3_run_vol_monitor.py
|
||||
# vol_live 모니터 HTTP 서버(8766) — 2분마다 미기동 시 nohup 기동
|
||||
# */2 * * * * /Users/dsyoon/workspace/bithumb/scripts/3_ensure_vol_monitor_serve.sh >> /Users/dsyoon/workspace/bithumb/data/spot/operations/vol_monitor_serve.log 2>&1
|
||||
|
||||
# (선택) fractal 운영 감시 — vol 전용이면 주석 유지
|
||||
# */5 * * * * /Users/dsyoon/workspace/bithumb/scripts/3_run_watch_cron.sh >> /Users/dsyoon/workspace/bithumb/data/spot/operations/watch_cron.log 2>&1
|
||||
|
||||
Reference in New Issue
Block a user