What is cron and what is the crontab syntax?
BeginnerConceptNetworking, SSH & Scheduling
Answer
cron runs scheduled commands. Five fields: minute, hour, day of month, month, day of week.
# m h dom mon dow command
*/15 * * * * /opt/scripts/health.sh
30 2 * * 1-5 /opt/scripts/backup.sh >> /var/log/backup.log 2>&1
0 0 1 * * /opt/scripts/monthly.sh
crontab -e edits your table, crontab -l lists it.
More on Networking, SSH & Scheduling
Which `ip` commands replace ifconfig, route and arp?BeginnerWhat does `ss` show, and which flags do you use?BeginnerExplain the TCP connection states you see in ss.AdvancedWhat happens, step by step, when you run `curl https://example.com`?AdvancedWhich curl flags are most useful for debugging?BeginnerHow do you use `dig` for DNS troubleshooting?Beginner