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

If you kill a cron process it doesn't gracefully handle the task metadata

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 4.3.2, 4.4
    • Tasks
    • None
    • MOODLE_403_STABLE, MOODLE_404_STABLE

      1. Spawn a long running task
      2. Run the cli for it
      3. Visit admin/tool/task/runningtasks.php and see that it is running
      4. Press control c and you get 
        == Exiting gracefully, please wait ... ==
      1. Press control c a second time and this time the script exits immediately
      2. Visit admin/tool/task/runningtasks.php and see that it looks like it is still running when it should not be present

       

      This is still a controlled php shutdown and it should flag the task as a fail and change its timestamps etc.

            Unassigned Unassigned
            brendanheywood Brendan Heywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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