# mtdowling/cron-expression

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/mtdowling-cron-expression).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

4,864 stars · 337 forks · PHP · MIT

## Links

- GitHub: https://github.com/mtdowling/cron-expression
- Homepage: http://mtdowling.com/blog/2012/06/03/cron-expressions-in-php/
- awesome-repositories: https://awesome-repositories.com/repository/mtdowling-cron-expression.md

## Description

This is a PHP library and scheduling utility used to parse cron expressions and calculate execution dates. It functions as a cron schedule calculator that determines the next run date and execution iterations from standard cron strings.

The project provides capabilities for predicting future run dates and calculating sequences of upcoming timestamps. It also includes a utility to verify if a scheduled task is currently due for execution by comparing the system time to a cron expression.

## Tags

### DevOps & Infrastructure

- [Cron Expression Parsers](https://awesome-repositories.com/f/devops-infrastructure/scheduling/cron-expression-parsers.md) — Provides a utility for interpreting and parsing standard cron timing strings. ([source](https://cdn.jsdelivr.net/gh/mtdowling/cron-expression@main/README.md))
- [Due-for-Execution Validation](https://awesome-repositories.com/f/devops-infrastructure/automation-orchestration/task-execution-frameworks/task-job-management/task-schedulers/due-for-execution-validation.md) — Determines if a task is currently due for execution by comparing system time to a cron expression. ([source](https://cdn.jsdelivr.net/gh/mtdowling/cron-expression@main/README.md))

### Development Tools & Productivity

- [Next-Execution Calculators](https://awesome-repositories.com/f/development-tools-productivity/date-and-time-utilities/calendar-date-calculations/date-sequence-generators/next-execution-calculators.md) — Determines the exact future timestamp of the next scheduled occurrence by iteratively stepping through dates.
- [Cron Occurrence Calculators](https://awesome-repositories.com/f/development-tools-productivity/date-and-time-utilities/cron-occurrence-calculators.md) — Determines specific past or future execution dates using cron expressions and temporal offsets. ([source](https://cdn.jsdelivr.net/gh/mtdowling/cron-expression@main/README.md))
- [PHP Scheduling Utilities](https://awesome-repositories.com/f/development-tools-productivity/php-scheduling-utilities.md) — Provides logic for verifying if scheduled tasks are due for execution within a PHP environment.
- [Cron Sequence Prediction](https://awesome-repositories.com/f/development-tools-productivity/task-execution/future-time-executions/cron-sequence-prediction.md) — Computes a sequence of upcoming timestamps to predict when future executions will occur. ([source](http://mtdowling.com/blog/2012/06/03/cron-expressions-in-php/))
- [Future-Time Executions](https://awesome-repositories.com/f/development-tools-productivity/task-execution/future-time-executions.md) — Calculates a sequence of future timestamps to verify when scheduled events will occur.
- [Task Scheduling](https://awesome-repositories.com/f/development-tools-productivity/task-scheduling.md) — Automates task scheduling by determining if a job is due to run based on cron rules.

### Software Engineering & Architecture

- [Regular Expression-Based Parsing](https://awesome-repositories.com/f/software-engineering-architecture/regular-expression-based-parsing.md) — Uses regular expressions to translate cron strings into structured arrays for ranges, increments, and wildcards.

### Part of an Awesome List

- [Command Line Tools](https://awesome-repositories.com/f/awesome-lists/devtools/command-line-tools.md) — Calculates cron job execution schedules.
