diff --git a/RECIPES.md b/RECIPES.md index 4d57e5c2..7fbb91c9 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -126,6 +126,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith | [symfony/rocket-chat-notifier](https://packagist.org/packages/symfony/rocket-chat-notifier) | [5.1](symfony/rocket-chat-notifier/5.1) | `rocket-chat-notifier`, `rocketchatnotifier` | | [symfony/routing](https://packagist.org/packages/symfony/routing) | [7.0](symfony/routing/7.0) | `router`, `routing` | | [symfony/scaleway-mailer](https://packagist.org/packages/symfony/scaleway-mailer) | [6.4](symfony/scaleway-mailer/6.4) | `scaleway-mailer`, `scalewaymailer` | +| [symfony/scheduler](https://packagist.org/packages/symfony/scheduler) | [7.2](symfony/scheduler/7.2) | `schedule`, `scheduler`, `scheduling` | | [symfony/security-bundle](https://packagist.org/packages/symfony/security-bundle) | [6.4](symfony/security-bundle/6.4) | `security`, `security-bundle`, `securitybundle` | | [symfony/sendberry-notifier](https://packagist.org/packages/symfony/sendberry-notifier) | [6.1](symfony/sendberry-notifier/6.1) | `sendberry-notifier`, `sendberrynotifier` | | [symfony/sendgrid-mailer](https://packagist.org/packages/symfony/sendgrid-mailer) | [4.4](symfony/sendgrid-mailer/4.4) | `sendgrid-mailer`, `sendgridmailer` | diff --git a/archived/symfony.scheduler/caea3c928ee9e1b21288fd76aef36f16ea355515.json b/archived/symfony.scheduler/caea3c928ee9e1b21288fd76aef36f16ea355515.json new file mode 100644 index 00000000..96df4d40 --- /dev/null +++ b/archived/symfony.scheduler/caea3c928ee9e1b21288fd76aef36f16ea355515.json @@ -0,0 +1,48 @@ +{ + "manifests": { + "symfony/scheduler": { + "manifest": { + "copy-from-recipe": { + "src/": "%SRC_DIR%/" + } + }, + "files": { + "src/Schedule.php": { + "contents": [ + "stateful($this->cache) // ensure missed tasks are executed", + " ->processOnlyLastMissedRun(true) // ensure only last missed task is run", + "", + " // add your own tasks here", + " // see https://symfony.com/doc/current/scheduler.html#attaching-recurring-messages-to-a-schedule", + " ;", + " }", + "}", + "" + ], + "executable": false + } + }, + "ref": "caea3c928ee9e1b21288fd76aef36f16ea355515" + } + } +} diff --git a/index.json b/index.json index 1c6249ab..e0e87cd1 100644 --- a/index.json +++ b/index.json @@ -343,7 +343,9 @@ "runtime": "symfony/runtime", "scaleway-mailer": "symfony/scaleway-mailer", "scalewaymailer": "symfony/scaleway-mailer", + "schedule": "symfony/scheduler", "scheduler": "symfony/scheduler", + "scheduling": "symfony/scheduler", "sec-check": "sensiolabs/security-checker", "sec-checker": "sensiolabs/security-checker", "sec-checks": "sensiolabs/security-checker", @@ -971,6 +973,9 @@ "symfony/scaleway-mailer": [ "6.4" ], + "symfony/scheduler": [ + "7.2" + ], "symfony/security-bundle": [ "3.3", "4.4", diff --git a/symfony.scheduler.7.2.json b/symfony.scheduler.7.2.json new file mode 100644 index 00000000..96df4d40 --- /dev/null +++ b/symfony.scheduler.7.2.json @@ -0,0 +1,48 @@ +{ + "manifests": { + "symfony/scheduler": { + "manifest": { + "copy-from-recipe": { + "src/": "%SRC_DIR%/" + } + }, + "files": { + "src/Schedule.php": { + "contents": [ + "stateful($this->cache) // ensure missed tasks are executed", + " ->processOnlyLastMissedRun(true) // ensure only last missed task is run", + "", + " // add your own tasks here", + " // see https://symfony.com/doc/current/scheduler.html#attaching-recurring-messages-to-a-schedule", + " ;", + " }", + "}", + "" + ], + "executable": false + } + }, + "ref": "caea3c928ee9e1b21288fd76aef36f16ea355515" + } + } +}