Calculate the next or previous run date and determine if a CRON expression is due. The PHP cron expression parser can parse a CRON expression, determine if it is due to run, calculate the next run date of the expression, and calculate the previous run date of the expression. You can calculate dates far into the future or past by skipping n number of matching dates. The parser can handle increments of ranges (e.g. */12, 2-59/3), intervals (e.g. 0-9), lists (e.g. 1,2,3), W to find the nearest weekday for a given day of the month, L to find the last day of the month, L to find the last given weekday of a month, and hash (#) to find the nth weekday of a given month. You can determine whether or not the promotion should be running, buyers can see when the promotion last ran, determine if the promotion will run on a specific date, and they can plan out their buying strategies based on when the promotion will run next.

Features

  • Parse a CRON expression, determine if it is due to run, and calculate the next run date of the expression
  • Calculate the previous run date of the expression
  • You can calculate dates far into the future or past by skipping n number of matching dates
  • The parser can handle increments of ranges and intervals
  • Install it with composer, or simply download the phar file and include it in your scripts
  • Cron utilizes cron expressions for representing recurring schedules

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow PHP Cron Expression Parser

PHP Cron Expression Parser Web Site

Other Useful Business Software
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PHP Cron Expression Parser!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Cron and Job Scheduler Software

Registered

2021-11-09