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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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