VPS Cron Jobs 設定記錄

Wiki Compile

  • 頻率:每 3 日,凌晨 12:47am
  • Script/home/claude/scripts/wiki-compile.py
  • Model:OpenRouter Haiku (anthropic/claude-haiku-4-5)
  • Smart check:有新 notes 先 compile,冇改就 skip(零費用)
  • Log/tmp/wiki-compile.log
  • 費用:~$0.30 HKD/次(有改先收)

Quartz Rebuild(網頁版 Obsidian)

  • 頻率:每日,凌晨 12:23am
  • 指令npx quartz build
  • Log/tmp/quartz-build.log
  • 費用:零(無 AI)
  • 作用:更新 preview.remarkable-marketing.hk/vault/

其他系統 Crons

時間用途
每 25 分鐘Xero token refresh
每日 2amGoogle Workspace token refresh
每日 4amNightly health check
每 3 日 4amOpenAI token refresh
每 14 日 3amGoogle cookies refresh
每週日 9amNeo4j weekly review

查看方法

crontab -l          # 睇所有 cron
crontab -l | grep wiki   # 搵 wiki compile