Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17933 Moodle 4.3 QA
  3. MDLQA-18301

CLONE - An administrator can set a Path to PHP CLI and run scheduled tasks via the UI

XMLWordPrintable

      Note: Please mention in a comment which type of server you are using, Windows or Linux.

      1. Log in as an admin and go to Site administration > Server > System paths.
      2. Set "Path to PHP CLI" to the path to your PHP executable.
        • On Linux, you can use the value returned by the command "which php" on your terminal.
        • On Windows, you can use the value returned by the command "where php" on your terminal.
      3. Go to Site administration > Server > Tasks > Scheduled tasks.
      4. Confirm that there is a "Run now" button for most (if not all) of the tasks.
      5. Click "Run now" for the "Forum mailings and maintenance jobs" task.
      6. On the confirmation prompt, confirm to run the task.
      7. Confirm that the task executes successfully without any errors (except maybe when the outgoing email settings have not been properly configured and that Moodle can't send email messages. This is fine. The important thing is that the task executes okay.)
      8. Go back to the Scheduled tasks page.
      9. Open another browser tab and go to Site administration > Server > System paths
      10. Remove the value in "Path to PHP CLI".
      11. Back on the Scheduled tasks page, click on "Run now" in any of the tasks listed.
      12. On the confirmation prompt, confirm to run the task.
      13. Confirm that you get an error that the path to the PHP CLI can't be found.
      14. Click on "Continue".
      15. Confirm that you are redirected to the System paths page.
      16. Leave the Path to PHP CLI setting blank.
      17. Go back to the scheduled tasks page.
      18. Confirm that the "Run now" links are not shown in any of the scheduled tasks.

            meowmiomew Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.