Download the PHP package zenstruck/schedule-bundle without Composer
On this page you can find all versions of the php package zenstruck/schedule-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zenstruck/schedule-bundle
More information about zenstruck/schedule-bundle
Files in zenstruck/schedule-bundle
Package schedule-bundle
Short Description Schedule Cron jobs (commands/callbacks/bash scripts) within your Symfony application.
License MIT
Homepage https://github.com/zenstruck/schedule-bundle
Informations about the package schedule-bundle
The ScheduleBundle
Schedule Cron jobs (commands/callbacks/bash scripts) within your Symfony
application. Most applications have jobs that need to run at specific intervals.
This bundle enables you to define these jobs in your code. Job definitions (tasks)
are version controlled like any other feature of your application. A single Cron
entry (php bin/console schedule:run
) on your server running every minute executes due
tasks.
The inspiration and some of the API/code for this Bundle comes from Laravel's Task Scheduling feature.
- Installation
- Quick Start
- Defining the Schedule
- ScheduleBuilder Service
- Your Kernel
- Bundle Configuration
AsScheduledTask
Attribute- Self-Scheduling Commands
- Timezone
- Schedule Extensions
- Filters
- Callbacks
- Ping Webhook
- Email On Failure
- Notify On Failure
- Run on Single Server
- Limit to specific environment(s)
- Defining Tasks
- Task Types
- CommandTask
- CallbackTask
- ProcessTask
- MessageTask
- PingTask
- CompoundTask
- Task Description
- Frequency
- Cron Expression
- Fluent Expression Builder
- Hashed Cron Expression
- Task ID
- Timezone
- Task Extensions
- Filters
- Callbacks
- Ping Webhook
- Email Output
- Notify Output
- Prevent Overlap
- Run on Single Server
- Between
- Task Types
- Running the Schedule
- Cron Job on Server
- Symfony Cloud
- Alternatives
- Force Run
- Dealing with Failures
- Ensuring Schedule is Running
- Disable Schedule during Deploy
- CLI Commands
- schedule:list
- schedule:run
- Extending
- Custom Tasks
- Custom Extensions
- Events
- Full Configuration Reference
Installation
If not using Symfony Flex, be sure to enable the bundle.
Quick Start
-
Add your schedule service (assumes autowire and autoconfiguration enabled):
-
List your tasks to diagnose any problems:
- Add the following Cron job on your server running every minute:
See Defining Tasks for more options.
Full Configuration Reference
All versions of schedule-bundle with dependencies
dragonmantank/cron-expression Version ^2.3|^3.0
symfony/console Version ^5.4|^6.0|^7.0
symfony/dependency-injection Version ^5.4|^6.0|^7.0
symfony/event-dispatcher Version ^5.4|^6.0|^7.0
symfony/http-kernel Version ^5.4|^6.0|^7.0