Urgent.News

What's breaking now, across thousands of outlets.

Tech

What cron expression runs every 5 minutes?

A cleanup job was supposed to run every five minutes. The crontab was saved at 10:03. The log showed 10:05, then 10:10. That is not a late start. The expression is tied to the clock, at minutes 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, and 55. Saving the file does not start a countdown. Classic cron also does not hold the next start while the previous process is still running, so a six-minute…

The cron expression that runs every five minutes is */5 * * * * . This expression specifies that the job should execute at minutes 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, and 55 of every hour, regardless of the day, month, or day of the week. Saving the crontab file does not start the countdown; the job waits for the next minute that matches the expression.

Classic cron, such as Vixie cron and cronie, does not delay starting the next run if the previous process is still running, so a six-minute command would overlap itself. The five fields in the */5 * * * * expression are minutes, hours, day of the month, month, and day of the week, all using stars to indicate every possible value.

The step of 5 minutes is applied to the minute field, starting at 0 and incrementing by 5 until 55, resulting in 12 runs per hour.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Phantom Logs: Turning 3:00 AM Server & Smart-Home Telemetry into Ghost Stories

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine What I Built Every developer and smart-home tinkerer knows that weird things happen inside our machines…

  • Phantom Logs transforms server and smart-home telemetry into ghost stories
  • AI generates structured three-part incident report from raw logs
  • Tool prioritizes privacy, no data retention or AI model training

Kernel Mean Embeddings: Turning Distributions into Points You Can Compute With

Most of machine learning is built around points. A data point is a vector, a model maps vectors to predictions, and distance between vectors tells you how similar two examples are.

  • Kernel mean embeddings represent distributions as single points in high-dimensional function space.
  • Kernel function measures similarity between points, enabling operations on distributions as points.
  • Expectations of functions can be computed using inner products with kernel mean embeddings.

Human-in-the-loop: designing the review queue

"Doubtful cases go to a human" is easy to say and easy to get wrong. If the review queue is slow, confusing or endless, people stop trusting it, start rubber-stamping, and the accuracy you measured in…

  • Human intervention essential for review queue when doubt arises
  • Two item categories for queue: low confidence items and hard rules
  • Estimate workload to ensure adequate human resources for queue

Design MinIO temporary credentials around session policy limits

Design MinIO temporary credentials around session policy limits Long-lived object-storage keys are easy to distribute and hard to retire. MinIO's Security Token Service offers a different model.

  • MinIO STS provides temporary keys with expiration and session policy.
  • Applications must use both temporary keys and session token together.
  • Inline session policy narrows scope based on workflow needs.

More from Saturday 31 October →