C.W.K.
Stream
Lesson 05 of 06 · published

Scheduled 작업과 일일 요약

~14 min · dispatch, schedule, cron, daily-summary

Level 0🌱 입문자
0 XP0/70 lessons0/11 achievements
0/120 XP to next level120 XP to go0% complete

반복 노력 없는 반복 작업

Dispatch 가 scheduled 작업 지원 — cron 같은 일정에 발화하는 반복 job. 한 번 설정, 영원히 run. 자연스러운 fit: 일일 요약, 주간 리포트, 월말 체크리스트, 그 외에 스크립트 + launchd plist 빌드할 만한 거.

Schedule 모양: cron expression + 작업 정의 + output destination. 작업이 designate working folder 에 같은 보안 정책으로 돌아 (ad-hoc Dispatch 와 동일). Output 이 작업 명시한 데로 — 보통 /output/ 의 날짜 stamp 파일.

실용 리듬: 매일 8am "어제 이메일/커밋/티켓 요약", 금요일 5pm "주간 진척 리포트", 1일 "청구 reconciliation". 모바일 push 알림이 그 일 하라는 요청 X, 일 준비됐다는 reminder.

Code

Three scheduled tasks worth setting up·json
// Settings → Dispatch → Scheduled Tasks (or via API)

[
  {
    "name": "daily-commit-digest",
    "schedule": "0 8 * * 1-5",   // weekdays 8:00 AM
    "task": "Read git log from yesterday across ~/projects/. Write /Desktop/digests/$(date +%F)-commits.md with one bullet per project.",
    "notify": true
  },
  {
    "name": "weekly-progress",
    "schedule": "0 17 * * 5",    // Fridays 5:00 PM
    "task": "Compile a weekly progress report from /Cowork/working/notes-this-week.md and git logs across ~/projects/. Write /Desktop/weekly/$(date +%F).md.",
    "notify": true
  },
  {
    "name": "monthly-billing",
    "schedule": "0 9 1 * *",     // 1st of month, 9 AM
    "task": "Pull last month's transactions via the finance MCP, categorize, output /Desktop/billing/$(date +%Y-%m).md.",
    "notify": true
  }
]
Cron expression cheat sheet·text
┌──── minute       (0–59)
│ ┌── hour         (0–23)
│ │ ┌── day-of-month (1–31)
│ │ │ ┌── month        (1–12)
│ │ │ │ ┌── day-of-week (0–6, Sun=0)
* * * * *

0  8  *  *  1-5     weekdays at 8:00
0  17 *  *  5       Fridays at 5:00 PM
0  9  1  *  *       1st of month at 9:00 AM
*/15 * * * *        every 15 minutes
0  0  *  *  *       midnight, every day

External links

Exercise

수동으로 하던 거 위해 진짜 scheduled Dispatch 작업 1개 설정 (일일 요약, 주간 리포트, 일말 리뷰). 첫 run 5분 후 발화로 verify. 그 다음 진짜 cadence 로 reschedule.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.