Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4256

Modules and plugins can't add to the cron log

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.0-b1
    • Component/s: None
    • Labels:

      Description

      Currently, there is no way for module and plugins to add the the log of their cron tasks. If they try to use the Logs model to update a cron log, the change is overridden the next time AbstractCron::log() is called.

      We should either:

      1. Update AbstractCron::log() to account for changes made by plugins/modules
      2. Make a way for plugins/modules to return output to be displayed and logged

        Activity

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              27/Jan/22

              Time Tracking

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

                Agile