Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12686

CLI cron:run doesn't load extensions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 3.1.0-b4
    • 3.1.0-RC1
    • CLI, Extensions
    • None

    Description

      This might be related to PHPBB3-12685. Created after posting to https://area51.phpbb.com/phpBB/viewtopic.php?p=265837

      my extension services.yml :

          rfd.cron.my_cron:
              class: rfd\extension\cron\my_cron
              arguments:
                  - @request
                  - @config
                  - @dbal.conn
              calls:
                  - [set_name, [rfd.cron.my_cron]]
              tags:
                  - { name: cron.task }
      

      Debugging the service collection, shows that it doesn't locate the extension service.

      Attachments

        Issue Links

          Activity

            People

              prototech prototech [X] (Inactive)
              rfdy rfdy [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: