TTaylor Walker·5d agoA Booking API That Cannot Promise the Same Slot TwiceA booking system has two separate responsibilities: reserve a resource correctly, then communicate the reservation reliably. A beautiful calendar can fail both. If two customers see the same available4 min read·gilnex.hashnode.dev11A
AAmeen Usman·Nov 23Does */5 in crontab include minute 0?*/5 * * * * is cron every 5 minutes, and yes — minute 0 is on the list. 5-59/5 skips 0 on purpose.1 min read·kepttools.hashnode.dev
AAmeen Usman·Nov 22*/5 does not start five minutes from now*/5 * * * * is locked to the clock. Save at 10:03 and the next run is 10:05 — not five minutes after you edit the file.1 min read·kepttools.hashnode.dev
AAmeen Usman·Nov 21*/5 in crontab: cron every 5 minutes*/5 * * * * runs at 0, 5, 10, through 55. Locked to the clock, not to the minute you saved the file.1 min read·kepttools.hashnode.dev
CCC Ong·Nov 21A fair rotation that starved the newcomers: fixing a round-robin price crawlerFair to the games already in the rotation, it left a newly added game waiting two days for four minutes of work6 min read·2cstudio.hashnode.dev
AAmeen Usman·Nov 20A five-field crontab line is not Quartz or EventBridgeQuartz starts with seconds. EventBridge uses six fields with no seconds and ?. Keep the shapes separate from */5 * * * *.1 min read·kepttools.hashnode.dev
AAmeen Usman·Nov 18What does */5 mean in a crontab?*/5 * * * * is every five minutes on the clock: 0, 5, 10, through 55. It is not five minutes after you save the file.1 min read·kepttools.hashnode.dev
AAmeen Usman·Nov 18*/5 does not wait for the previous runOn classic cron, a six-minute job overlaps an every-five-minutes schedule. Use a lock such as flock if that must not happen.2 min read·kepttools.hashnode.dev
AAmeen Usman·Nov 130 0 */5 * * is not every date divisible by 5On Vixie cron and cronie the day step starts at 1. Midnight lands on the 1st, 6th, 11th, 16th, 21st, 26th, and 31st.2 min read·kepttools.hashnode.dev
AAmeen Usman·Nov 13*/5 is locked to the clockSave the crontab at 10:03 and the next run is 10:05, then 10:10. The minutes are 0, 5, 10 through 55.2 min read·kepttools.hashnode.dev