commit 9d3adca80896c28d35e0261a2026ec645183e401 Author: github-action[bot] <> Date: Wed Sep 9 12:27:10 2026 +0000 Create Flex endpoint diff --git a/index.json b/index.json new file mode 100644 index 00000000..0fdd5fe5 --- /dev/null +++ b/index.json @@ -0,0 +1,25 @@ +{ + "aliases": { + "schedule": "symfony/scheduler", + "scheduler": "symfony/scheduler", + "scheduling": "symfony/scheduler" + }, + "recipes": { + "symfony/scheduler": [ + "7.2", + "8.2" + ] + }, + "recipe-conflicts": [], + "versions": [], + "branch": "main", + "is_contrib": false, + "_links": { + "repository": "github.com/symfony/recipes", + "origin_template": "{package}:{version}@github.com/symfony/recipes:main", + "recipe_template": "https://raw.githubusercontent.com/symfony/recipes/flex/pull-1573/{package_dotted}.{version}.json", + "recipe_template_relative": "{package_dotted}.{version}.json", + "archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes/flex/pull-1573/archived/{package_dotted}/{ref}.json", + "archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json" + } +} 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" + } + } +} diff --git a/symfony.scheduler.8.2.json b/symfony.scheduler.8.2.json new file mode 100644 index 00000000..4093d5d9 --- /dev/null +++ b/symfony.scheduler.8.2.json @@ -0,0 +1,58 @@ +{ + "manifests": { + "symfony/scheduler": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + } + }, + "files": { + "config/packages/scheduler.yaml": { + "contents": [ + "framework:", + " scheduler:", + " use_messenger_routing: true", + "" + ], + "executable": false + }, + "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": "2f08866d3b0fb1243ab13ce3ecda8a9e9645a61a" + } + } +}