Skip to content

feat(cron): cc switch for blog-publish and job-alerts crons - #54

Merged
brekarta-stack merged 1 commit into
mainfrom
feat/cron-switch
Dec 1, 2026
Merged

brekarta-stack merged 1 commit into
mainfrom
feat/cron-switch

Conversation

@brekarta-stack

Copy link
Copy Markdown
Owner

cc 「자동화」에서 papercraft.kr Vercel 크론을 켜고 끈다(대표님 승인 2026-12-01).

  • 표 cron_switches — 운영 DB 적용 완료(SQL 편집기, SHA-256 앞 16자 d4263ed7e1be5b12)
  • blog-publish: 꺼져 있으면 발행하지 않고 200 {skipped:"off"}(probe 는 그대로). 손으로 부르는 BLOG_PUBLISH_SECRET 호출도 건너뛴다
  • job-alerts: Vercel 크론(하루 1회 안전망) 호출만 건너뛴다. 맥의 15분 두드림은 cc 의 맥 작업 스위치로 따로
  • /api/cron/switch GET·POST — 맥 작업자 토큰만. 읽기 실패·3초 초과는 켬

🤖 Generated with Claude Code

New cron_switches table (service role only). Routes skip with 200
{skipped:"off"} when the row is disabled; job-alerts only skips Vercel cron
calls so the Mac's 15-minute tick is switched separately. Reads fail open
after 3s. /api/cron/switch lets the Mac worker token list and set switches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
actioncraft-web Ready Ready Preview Dec 1, 2026 2:38am UTC

Request Review

@brekarta-stack
brekarta-stack merged commit 70d283f into main Dec 1, 2026
1 of 3 checks passed

This branch was successfully deployed

1 active deployment
Preview — d7f34e81 Deployed Dec 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant