{"repo":"Guikingone/SchedulerBundle","free":true,"listed":false,"github":"https://github.com/Guikingone/SchedulerBundle","clone":"git clone https://github.com/Guikingone/SchedulerBundle.git","description":"Repetitive tasks as a breath in Symfony","language":"PHP","stars":116,"topics":["symfony","symfony-bundle","scheduler","cron","php","doctrine","redis","tasks","messenger","fibers"],"license":"MIT","category":"databases-storage","readme_excerpt":"Daily runs Code style Infection PHPUnit Rector Security Static analysis A Symfony bundle built to schedule/consume repetitive tasks Main features - External transports (Doctrine, Redis, etc) - External configuration storage (Doctrine, Redis, etc) - Retry / Remove / Sort policies - Background worker - Symfony/Messenger integration - Mercure integration - Fibers support Installation Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation. Quick start If symfony/flex is not installed, manually update the config/bundles.php : Then configure a transport in config/packages/scheduler.yaml : Finally, it's time to create a simple task: When a task is configured, time to execute it, two approaches can be used: - Adding a cron entry cd /path-to-your-project && php bin/console scheduler:consume /dev/null 2 &1 - Launching the command scheduler:consume --wait in a background command Documentation Usage Configuration Best practices Tasks Transports Lock Commands Events Lazy Loading Messenger HTTP entrypoint ExecutionPolicies SchedulePolicies Runners Worker Scheduler Middleware Probe Tests Mercure Contributing Want to improve this bundle?","default_branch":null,"files":null,"tree":[],"storefront":"/r/Guikingone","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Guikingone/SchedulerBundle/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}