Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-51825

Add support for custom parameters to scheduled tasks

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_34_STABLE

      Description

      While discussing about MDL-46623, it was commented that we should consider the possibility to support parameters when running scheduled tasks.

      Some of them could be common to all tasks (say, debug/verbose/dry...). Others could be particular of every task (say server, dothis, dothat...).

      We did not go deeper in any analysis, just detected the potential need... so this has been created about it to avoid forgetting.

      It is possible that we might need to be able to set up the same scheduled task to run with different schedules with different parameters! See comment

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: