Master 1Password: vaults, Watchtower, passkeys, SSH agent, CLI, and family/team administration. Use when getting full value from 1Password personally or administering it for others.
中文简介正在准备中。当前显示原文说明。
Read, write, and debug cron expressions with field reference, scheduling logic, and common patterns.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Cron expressions are write-only for most people — everyone copies them, few can read them. But misreading a schedule means backups that never run or jobs that fire 60x too often. This skill makes cron legible: the five fields, special strings, the day-of-month/day-of-week gotcha, and debugging techniques for "why didn't it run?"
Writing cron schedules for jobs and automation
Reading and understanding existing cron expressions
Debugging jobs that run at wrong times (or not at all)
Choosing between cron and modern schedulers
Documenting schedules for teams
minute hour day-of-month month day-of-week — in that order. 30 2 * * *
= 2:30 AM daily. Memorize the order with: "my happy dog makes dinner" (minute, hour, dom, month,
dow) or just drill it until it's reflex.* (every), */15 (every 15), 1,15 (list), 1-5 (range, Mon-Fri for dow),
9-17/2 (every 2 hours 9-5). Ranges and steps compose; lists don't take steps in classic cron.*), cron runs
when EITHER matches — not both. 0 0 1 * 1 runs on the 1st of the month AND every Monday. This
surprises everyone once.@reboot, @yearly, @monthly, @weekly, @daily, @hourly — readable
shorthands. Note: @reboot behavior varies (and doesn't exist in all cron implementations).@reboot, seconds fields, and timezone handling vary — check your
implementation.30 9 * * 1-5.
Describe in words before encoding — the words are the spec you'll verify against.Use the field table. Build expressions field by field:
minute (0-59), hour (0-23), dom (1-31), month (1-12), dow (0-7, both 0 and 7 = Sunday)
Verify each field independently before combining.
Common patterns (verify against your cron flavor):
*/5 * * * * — every 5 minutes
0 * * * * — hourly
0 2 * * * — daily 2 AM
0 9 * * 1 — Mondays 9 AM
0 0 1 * * — first of month midnight
30 9 * * 1-5 — weekdays 9:30 AM
0 0 * * 0 — Sundays midnight
crontab -l)? Absolute paths everywhere? Environment variables set?
Permissions on the script (executable)? Output captured (redirect stdout/stderr to a log — silent
failures are cron's default)? Timezone correct (system vs expected)?30 2 * * * /opt/job.sh >> /var/log/job.log 2>&1 — without output
capture, failures vanish. Better: have the job log itself with timestamps.0 0 1 * 1 doesn't mean "first Monday" — it means "1st AND Mondays."
For "first Monday," you need wrapper logic in the script.CRON_TZ (where supported) or run the system in UTC.python resolving via PATH, ~ expansion, locale settings — all
differ under cron. Absolute paths, explicit env vars, tested in a clean shell.flock) to prevent concurrent runs./etc/crontab (which has an extra user
field) vs /etc/cron.d/. The 6-field system format in a 5-field user crontab breaks mysteriously.还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Master 1Password: vaults, Watchtower, passkeys, SSH agent, CLI, and family/team administration. Use when getting full value from 1Password personally or administering it for others.
中文简介正在准备中。当前显示原文说明。
Create 3D visuals with modeling, texturing, lighting, rendering, and optimization for web and product.
中文简介正在准备中。当前显示原文说明。
Create 3D web experiences: scene setup, models, materials, lighting, animation, scroll-driven scenes, and performance budgets. Use when adding 3D to websites beyond basic demos.
中文简介正在准备中。当前显示原文说明。
Writing abstracts that get papers read — structured content, the 5-sentence core, and journal-specific constraints.
中文简介正在准备中。当前显示原文说明。
Learn effectively from courses and academies: choosing programs, studying actively, and converting courses into skills. Use when investing time/money in structured learning.
中文简介正在准备中。当前显示原文说明。
Audit designs for accessibility with WCAG checklists covering color, type, focus, motion, and content.
中文简介正在准备中。当前显示原文说明。