What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

A cron job pairs a schedule with a command, so one short line can start backups, reports, cleanup tasks, or other backend work without a person launching it. But the schedule is only one part of a working task: the command must run in the right environment, handle missed or duplicate starts safely, and make its outcome visible.

Conventional cron uses five time fields followed by a command. The exact parsing rules, time zone, daylight-saving behavior, and reliability controls depend on the scheduler—so an expression that looks familiar is not automatically portable.

What does a cron expression mean?

A conventional crontab entry has five schedule fields followed by the command to run:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
minute hour day-of-month month day-of-week command

For example, 0 3 * * 1 means 03:00 every Monday in the scheduler’s configured time zone. Kubernetes documents this five-field form; the expression itself does not specify a time zone. Kubernetes CronJobs

#1 Best Overall
CanaKit Raspberry Pi 5 Starter Kit PRO - Turbine Black (128GB Edition) (8GB RAM)
  • Includes Raspberry Pi 5 with 2.4Ghz 64-bit quad-core CPU (8GB RAM)
  • Includes 128GB Micro SD Card pre-loaded with 64-bit Raspberry Pi OS, USB MicroSD Card Reader
  • CanaKit Turbine Black Case for the Raspberry Pi 5
  • CanaKit Low Noise Bearing System Fan
  • Mega Heat Sink - Black Anodized
Field Conventional range Meaning
Minute 0–59 Minute within the hour
Hour 0–23 Hour of the day
Day of month 1–31 Calendar day
Month 1–12 Month of the year
Day of week 0–7 or names, depending on implementation Weekday; numeric conventions vary

In Cronie, the minute, hour, and month fields must match. If both day-of-month and day-of-week are restricted rather than set to *, either field matching is sufficient. That OR behavior can surprise people expecting both restrictions to apply. Check the documentation for your target scheduler before deploying an expression. Cronie crontab(5) documentation

A system crontab may include a user field between the schedule and command; a per-user crontab typically does not. Do not assume that extensions, field ranges, names, or day-matching behavior are identical across cron implementations and hosted schedulers.

How do I run a cron job every day?

Choose the time and time zone first, then write and validate the schedule using the scheduler’s own reference. For instance, 0 3 * * * expresses 03:00 daily in a five-field cron format. This does not guarantee that every scheduler will interpret or execute it identically, nor does it define whether 03:00 means UTC or a local civil time.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
CanaKit Raspberry Pi 4 4GB Starter PRO Kit - 4GB RAM
  • Includes Raspberry Pi 4 4GB Model B with 1.5GHz 64-bit quad-core CPU (4GB RAM)
  • Includes Pre-Loaded 32GB EVO+ Micro SD Card (Class 10), USB MicroSD Card Reader
  • CanaKit Premium High-Gloss Raspberry Pi 4 Case with Integrated Fan Mount, CanaKit Low Noise Bearing System Fan
  • CanaKit 3.5A USB-C Raspberry Pi 4 Power Supply (US Plug) with Noise Filter, Set of Heat Sinks, Display Cable - 6 foot (Supports up to 4K60p)
  • CanaKit USB-C PiSwitch (On/Off Power Switch for Raspberry Pi 4)
  1. Decide what “daily” means. Use a stable zone such as UTC for globally consistent timing, or a named local zone if the work must follow local business hours.
  2. Check the target’s syntax. Confirm the number and meaning of fields, accepted values, day-of-week rules, and any scheduler-specific limits.
  3. Define the command’s runtime context. Ensure its executable, configuration, credentials, working directory, and dependencies are available where the scheduler runs.
  4. Test the command independently. Confirm it exits successfully and produces the intended result before attaching it to a recurring schedule.
  5. Verify an actual scheduled run. Check that the scheduler started the task and that the task completed successfully; a configured expression alone is not evidence of success.

Does cron use my local time?

There is no universal answer: the scheduler’s configuration determines the time zone. Cronie documents local-time behavior around daylight-saving transitions: a scheduled time in the spring-forward missing hour does not match, while a repeated wall-clock time during the fall-back transition can match twice. Cronie crontab(5) documentation

Platform-specific rules differ. Kubernetes uses the controller manager’s local time zone when a CronJob does not set .spec.timeZone; a valid zone such as Etc/UTC can be specified. If a configured zone becomes invalid during the resource’s lifetime, the API documentation says the controller stops creating new Jobs and emits an UnknownTimeZone event. Kubernetes CronJobs Kubernetes CronJob API reference

GitHub Actions schedules use UTC by default and support an IANA time-zone name. Its documentation says that when a scheduled time falls in the skipped spring-forward hour, the run advances to the next valid time—for example, a 2:30 AM schedule moves to 3:00 AM. These are GitHub Actions rules, not general cron behavior. GitHub Actions schedule events

Rank #3
ELECROW CrowPi Case Kit for Raspberry Pi 5, 9-Inch Display
  • Not including the Raspberry Pi 5 (8GB), the Crowpi advanced version comes with the Raspberry Pi 5
  • ELECROW Black Case for the Raspberry Pi 5, CrowPi is equipped with a 9-inch HD touchscreen along with a camera; All the regular components used in DIY electronics are packed into the CrowPi development board, such as LCD, LED matrix, buzzer, light sensor, PIR sensor, ultrasonic sensor, IR sensor, etc
  • Raspberry Pi Sensors: The Crowpi raspberry pi 5 programming kit is jam-packed with lots of buttons such as 19 different sensors in a tidy easy to use package; You don't have to wait and wire things
  • Build Quality: Solid ABS shell and well made components in one place make it strong and convenient to travel
  • Programming Lessons: This raspberry pi 5 learning kit ships with step by step instructions and provides 21 lessons to take you through identifying components reading code and running it in the terminal

Why didn’t my cron job run?

A schedule can be valid while the task still fails to start or finish. Diagnose the stages separately rather than treating “the cron job” as one event:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Was a run due? Check the scheduler’s time zone, daylight-saving rules, field semantics, and whether the expected minute has passed.
  • Did the scheduler create or launch a run? On Kubernetes, inspect CronJob status, including active Jobs and last schedule time. A delayed or missed occurrence may be subject to startingDeadlineSeconds; an occurrence beyond that deadline is skipped, while later scheduled runs remain possible. Kubernetes CronJobs
  • Could another run have affected it? Kubernetes’ concurrencyPolicy defaults to Allow. With Forbid, a new scheduled run is skipped while an earlier Job from that CronJob is active; with Replace, the active Job is replaced by a new one. Choose based on whether overlap, waiting, or replacement is safest for the work. Kubernetes CronJobs
  • Did the process start but fail? Inspect the task’s logs and exit status, then check its runtime dependencies and permissions. Scheduler history can show that a Job existed without proving that its application-level work succeeded.
  • Was a run duplicated? Kubernetes warns that its controller can create multiple concurrent Jobs in some circumstances. Where duplicate work could cause damage, design the application to tolerate retries or duplicates—for example, with idempotent operations or an application-level lock.

What happens when a cron job is still running?

The result depends on the scheduler and its overlap policy. If a task takes longer than the interval between scheduled starts, the next occurrence may overlap, wait, be skipped, or replace an active run according to platform settings. Those choices have operational consequences: overlapping a report generation might waste resources, while skipping a critical reconciliation could leave data stale.

For Kubernetes CronJobs, set concurrencyPolicy deliberately. Allow permits concurrent Jobs; Forbid skips an occurrence if a prior Job is active; Replace replaces the active Job with a new one. None of these policies removes the need to consider duplicate execution, because Kubernetes documents that multiple concurrent Jobs can occur in certain circumstances. Kubernetes CronJobs

Rank #4
CanaKit Raspberry Pi 5 Desktop PC with SSD (Fully Assembled) (256 GB SSD)
  • Fully assembled for plug-and-play operation
  • Includes Raspberry Pi 5 with 8GB RAM
  • 256 GB PCIe Pi NVMe SSD (Pre-loaded with Pi 64-Bit OS)
  • M.2 HAT+
  • CanaKit Turbine Black Case for the Pi 5
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What does a Kubernetes CronJob add?

Kubernetes describes a CronJob as a resource that starts one-time Jobs on a repeating schedule, for work such as backups or report generation. Its documentation labels CronJob stable since Kubernetes v1.21 and the time-zone feature stable since v1.27; those version statements refer to the documented Kubernetes feature status. Kubernetes CronJobs

A minimal manifest has a schedule and a Job template. This illustrative fragment omits container details and other required workload configuration:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
apiVersion: batch/v1
kind: CronJob
metadata:
  name: daily-report
spec:
  schedule: "0 3 * * *"
  timeZone: "Etc/UTC"
  jobTemplate:
    spec:
      template:
        spec:
          restartPolicy: OnFailure
          containers:
            - name: report
              image: example.invalid/report:latest

In a real manifest, replace the illustrative image with an actual image and supply the command, configuration, and permissions the workload needs. Kubernetes also offers a starting deadline, concurrency policy, and Job history limits. The documented defaults retain three successful Jobs and one failed Job; retained status and history help with diagnosis but do not constitute a complete alerting system. Kubernetes CronJobs Kubernetes CronJob API reference

Best Value
RasTech Raspberry Pi 5 8GB Kit with Active Cooler and Pi5 Case
  • 【What you Get】You will get 1*Pi 5 8GB Single Board,1*RasTech Case,1*Active Cooler,1*Screwdriver,1*Installation instructions,12-month free warranty, lifetime service, 24-hour prompt and friendly response.
  • 【More Connectors】There are two USB 3.0 ports(5Gbps simultaneously) and two USB 2.0 ports, which triple total bandwidth ,support any combination of up to two cameras or displays. Peak SD card performance is doubled through support for the SDR104 high-speed mode. It provides a smooth desktop experience for you. Offer Gigabit Ethernet and a PCIe interface, along with dual-band Wi-Fi and Bluetooth 5.0/BLE wireless capability. The RasTech Pi 5 Kit use the new 27W 5.1V 5A USB-C power connector.
  • 【 Support Dual 4Kp60 Display 】Each of the two microHDMI sockets can control a 4K display at 60 Hertz, now support HDR, offering super HD video for media streaming projects. RPi 5 is the first RPi model that comes with a PCI Express port (PCIe 2.0 x1 with 500 MB/s) to attach SSDs (requires separate M.2 HAT).
  • 【 Excellent Chips And Applications】Pi 5 is a full-size Pi computer using silicon built in-house at Pi. The RP1 “southbridge” provides the bulk of the I/O capabilities for Pi 5. Pi 5 is more friendly and convenient in the development of Internet of Things, Web development, machine identification, automatic control and other electronic equipment applications and network.
  • 【 Faster CPU, Better GPU 】 Pi 5 features a Broadcom BCM2712 64-bit quad-core Arm Cortex-A76 processor running at 2.4GHz, it delivers a 2–3× increase in CPU performance relative to RaspberryPi 4. The 800MHz VideoCore VII GPU is compatible to OpenGL ES 3.1 and Vulkan 1.2, substantial uplift in graphics performance. Pi 5 Offers lightning-fast CPU speed, a PCI Express interface, a Real Time Clock (RTC) and a power button and runs significantly cooler than Pi 4.

Kubernetes cautions that CronJobs have limitations and can, in some circumstances, create multiple concurrent Jobs. Treat the scheduler as a trigger, not as a guarantee of exactly-once application work.

How GitHub Actions schedules differ

GitHub Actions can start scheduled workflow runs using POSIX cron syntax, but its behavior belongs to the GitHub platform rather than to a host’s local cron daemon. Current documentation says schedules run in UTC by default, can use an IANA time zone, and have a minimum interval of five minutes. A scheduled workflow runs against the latest commit on the default branch. GitHub Actions schedule events

That makes scheduled workflows an option for some repository automation, not a drop-in replacement for an always-available application scheduler. Confirm that the workflow’s branch, execution environment, and platform-specific time handling suit the workload.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How can I tell whether scheduled work succeeded?

Track the full path from schedule to outcome: whether a run was due, whether it was created, whether the process started, and whether it finished with the expected result. Kubernetes exposes active Jobs, last schedule time, and last successful time, which can help explain what happened; job history alone will not alert a person when work never starts or fails. Kubernetes CronJobs

For important production tasks, make success and failure visible through application logs, a durable status record, and an alert or monitoring mechanism suited to the team’s needs. Alerting for missed runs is especially useful when “nothing happened” would otherwise be indistinguishable from “nothing was due.” This is an operational safeguard, not a feature guaranteed by a cron expression.

Quick Recap

Bestseller No. 1
CanaKit Raspberry Pi 5 Starter Kit PRO - Turbine Black (128GB Edition) (8GB RAM)
CanaKit Raspberry Pi 5 Starter Kit PRO - Turbine Black (128GB Edition) (8GB RAM)
Includes Raspberry Pi 5 with 2.4Ghz 64-bit quad-core CPU (8GB RAM); CanaKit Turbine Black Case for the Raspberry Pi 5
$259.95
Bestseller No. 2
CanaKit Raspberry Pi 4 4GB Starter PRO Kit - 4GB RAM
CanaKit Raspberry Pi 4 4GB Starter PRO Kit - 4GB RAM
Includes Raspberry Pi 4 4GB Model B with 1.5GHz 64-bit quad-core CPU (4GB RAM); Includes Pre-Loaded 32GB EVO+ Micro SD Card (Class 10), USB MicroSD Card Reader
$159.99
Bestseller No. 4
CanaKit Raspberry Pi 5 Desktop PC with SSD (Fully Assembled) (256 GB SSD)
CanaKit Raspberry Pi 5 Desktop PC with SSD (Fully Assembled) (256 GB SSD)
Fully assembled for plug-and-play operation; Includes Raspberry Pi 5 with 8GB RAM; 256 GB PCIe Pi NVMe SSD (Pre-loaded with Pi 64-Bit OS)
$339.97

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.