diff --git a/synolia/sylius-scheduler-command-plugin/4.0/config/packages/sylius_scheduler_command.yaml b/synolia/sylius-scheduler-command-plugin/4.0/config/packages/sylius_scheduler_command.yaml new file mode 100644 index 00000000..42c16364 --- /dev/null +++ b/synolia/sylius-scheduler-command-plugin/4.0/config/packages/sylius_scheduler_command.yaml @@ -0,0 +1,2 @@ +imports: + - { resource: "@SynoliaSyliusSchedulerCommandPlugin/config/config.yaml" } diff --git a/synolia/sylius-scheduler-command-plugin/4.0/config/routes/sylius_scheduler_command.yaml b/synolia/sylius-scheduler-command-plugin/4.0/config/routes/sylius_scheduler_command.yaml new file mode 100644 index 00000000..6fc1ae09 --- /dev/null +++ b/synolia/sylius-scheduler-command-plugin/4.0/config/routes/sylius_scheduler_command.yaml @@ -0,0 +1,3 @@ +synolia_scheduled_command: + resource: "@SynoliaSyliusSchedulerCommandPlugin/config/admin_routing.yaml" + prefix: '/%sylius_admin.path_name%' diff --git a/synolia/sylius-scheduler-command-plugin/4.0/manifest.json b/synolia/sylius-scheduler-command-plugin/4.0/manifest.json new file mode 100644 index 00000000..afae9cd9 --- /dev/null +++ b/synolia/sylius-scheduler-command-plugin/4.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Synolia\\SyliusSchedulerCommandPlugin\\SynoliaSyliusSchedulerCommandPlugin": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/synolia/sylius-scheduler-command-plugin/4.0/post-install.txt b/synolia/sylius-scheduler-command-plugin/4.0/post-install.txt new file mode 100644 index 00000000..98aaf969 --- /dev/null +++ b/synolia/sylius-scheduler-command-plugin/4.0/post-install.txt @@ -0,0 +1,2 @@ + * Run doctrine:migrations:migrate to upgrade database + * Add Cron on synolia:scheduler-run to execute scheduled commands