Analisador de cron
Explique em linguagem simples uma expressão cron de cinco campos e liste as próximas vezes em que ela vai rodar.
Roda totalmente no seu navegador: nada do que você cola é enviado.
Cola de sintaxe cron
referência rápida- minuto 0-59
- Primeiro campo. */5 significa a cada cinco minutos; 0,30 significa na hora cheia e na meia hora.
- hora 0-23
- Segundo campo em formato de 24 horas, então 9 é 09:00 e 21 é 21h.
- dia do mês 1-31
- Terceiro campo. Combina com OR com o dia da semana quando ambos são restritos.
- mês 1-12 / JAN-DEC
- Quarto campo, numérico ou com nome, sem diferenciar maiúsculas.
- dia da semana 0-6 / SUN-SAT
- Quinto campo em que 0 e 7 são domingo, com MON-FRI como faixa útil habitual.
- 0 9 * * 1-5
- Todo dia útil às 09:00. Outros comuns: 0 0 * * * meia-noite, */15 * * * * a cada 15 minutos, 0 0 1 * * no primeiro dia do mês.
Guias de sintaxe de Linux
Todos os guias de Linuxsystemd Timers vs Cron: Missing PATH, Overlapping Runs, Time Drift
Cron runs a bare shell with no profile and no locking, and systemd reads the system time zone. The environment, single-instance and schedule fixes for both.
LinuxBash Indexed Arrays, Associative Maps, and Parameter Expansion
Quoting decides whether an array stays a list, and the expansion operators replace most external text tools. Includes set -u, mapfile, namerefs, and the bash 3.2 differences that break scripts on macOS.
LinuxParsing JSON and YAML in Shell Pipelines with jq and yq
jq is a filter language, not a pretty-printer. The operators that do the work, --arg versus string interpolation, in-place YAML edits, and how to tell which yq is installed before writing a command.
LinuxLinux Memory, Swap, the OOM Killer, vmstat, and sysctl Tuning
MemAvailable versus used, the vmstat columns that prove thrashing, how the OOM killer picks its victim, and the sysctl keys that belong in /etc/sysctl.d instead of a one-off command.