Croninfinite allows you to run cron just like a cron job - but completely without a crontab, a site visitor or a manual cron run. It's really a kind of PHP implementation of the unix cron utility what is recommended for most sites.
Use cases
- You don't want to rely on drupals default cron setting (only triggers if your site is visited).
- You are not able to use or don't even know about unix crontab.
- But you want to have your cron run routinely.
How to use it?
After installation you have to configure the interval cron should be triggered at cron's settings page (admin/config/system/cron) and start croninfinite.
Now it should keep running as background process and trigger cron as desired.
Advanced cron-timing
Croninfinite offers you a very comfortable way to time your cron runs but sometimes this is not enough and you need an advanced timing. This is what timing-rules are made for:
The format of rules for advanced timing is very similar to the unix crontab utility syntax:
* * * * * <= the timing-rule
┬ ┬ ┬ ┬ ┬
│ │ │ │ │
│ │ │ │ └──── Weekday (0-6) (Sunday=0) [-Weekday]
│ │ │ └────── Month (1-12) [-Month]
│ │ └──────── Day (1-31) [-Day]
│ └────────── [*/] Hour (0-23)
└──────────── [*/] Minute (0-59)
Examples:
0 | * | * | * | * | Hourly |
*/30 | * | * | * | * | Every thirty minutes |
0 | 0 | * | * | 1-5 | At midnight from Monday to Friday |
*/5 | 0 | 1 | * | * | Every five minutes about 0 o'clock on the first day of month |
0 | */3 | * | 2-11 | * | Every three hours from Februar to November |
Related modules
- Ultimate Cron (Similar but more advanced)
- Background Process (Similar technology)
- Elysia Cron (Similar timing granularity)
Project information
- Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects - No further development
No longer developed by its maintainers. - 3 sites report using this module
- Created by patrickd on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.