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

Re-run a scheduled task from the web

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Check that 'Allow run now' is enabled (Site administration > Security > Site security settings).
      2. Check that path to PHP CLI is set (Site adminsitration > Server > System paths).
      3. Go to Site administration -> Server -> Tasks -> Scheduled tasks
      4. Run any task you want from the list scheduler tasks
      5. confirm your action by pressing the button "Run Now"
      6. "Run again" link visible, If scheduler run successfully
      7. Use the "Run again" link to re-run the scheduler
      Show
      Check that 'Allow run now' is enabled (Site administration > Security > Site security settings). Check that path to PHP CLI is set (Site adminsitration > Server > System paths). Go to Site administration -> Server -> Tasks -> Scheduled tasks Run any task you want from the list scheduler tasks confirm your action by pressing the button "Run Now" "Run again" link visible, If scheduler run successfully Use the "Run again" link to re-run the scheduler
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:

      Description

      I'm really loving the ability to run a task from the web (see MDL-55980) - but whenever I find myself in a situation where this helps it's pretty common I want to do it again shortly after. So it would be great to just have a convenience link / button on the execute task results page to just repeat it. Because you have already gone through the confirmation prompt to get here, I'd suggest this can be skipped the second time and just run with one click.

        Attachments

        1. image-2019-12-23-11-59-44-621.png
          image-2019-12-23-11-59-44-621.png
          40 kB
        2. MDL-59487.JPG
          MDL-59487.JPG
          39 kB
        3. MDL-59487.patch
          3 kB
        4. MDL-59487-customized.patch
          3 kB

          Issue Links

            Activity

              People

              Assignee:
              brendanheywood Brendan Heywood
              Reporter:
              brendanheywood Brendan Heywood
              Peer reviewer:
              Brendan Heywood
              Integrator:
              Adrian Greeve
              Tester:
              Amaia Anabitarte
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Jun/20

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h