从 Google Sheets 加载每个作业的运行时指令,本地缓存,并安全地同步 OpenClaw 操作的定时任务启用标志。
Use this skill to run OpenClaw jobs from a Google Sheet control plane without editing cron/jobs.json manually.
enabled flags from sheet rows in dry-run or apply mode.scripts/load-sheet-instructions.mjsscripts/reconcile-cron-from-sheet.mjsreferences/google-sheet-instructions-schema.mdtemplates/job_instructions_template.csvSet these before running:
GOOGLE_SHEETS_SPREADSHEET_IDGOOGLE_SHEETS_RANGE (optional, default in scripts)GOOGLE_SERVICE_ACCOUNT_EMAILGOOGLE_SERVICE_ACCOUNT_PRIVATE_KEYgcloud for token fallback in loader script.Optional path overrides:
OPENCLAW_ROOT (default: ~/.openclaw)OPENCLAW_RUNTIME_INSTRUCTIONS_DIR (default: $OPENCLAW_ROOT/memory/runtime-instructions)OPENCLAW_CRON_JOBS_PATH (default: $OPENCLAW_ROOT/cron/jobs.json)Load one job's runtime instructions:
bash
node scripts/load-sheet-instructions.mjs \
--job-id "<job-id>" \
--job-name "<job-name>"
Load from cache only (no network):
bash
node scripts/load-sheet-instructions.mjs --job-id "<job-id>" --local-only
Preview cron enable/disable changes from sheet:
bash
node scripts/reconcile-cron-from-sheet.mjs
Apply cron enable/disable changes:
bash
node scripts/reconcile-cron-from-sheet.mjs --apply
--apply.jobs.json.