Skip to content
Code-Schnipsel Gruppen Projekte
  1. Mär 27, 2025
    • Henning Leutz's avatar
      feat: add required attribute to cron.xml · 311f2c3a
      verfasst von Henning Leutz
      In this commit, we have improved the handling of cron tasks and introduced the 'required'
      attribute. Changes made include:
      
      - Added 'required' attribute to three cron exec in `cron.xml` to enforce their creation.
      - Updated `EventHandler` to only create `required` crons, and to stop creating non-required crons
      when the `$onlyRequired` argument is set to `true`.
      - Improved how crons are created with different scopes by replacing the switch statement with a
      `match` expression in `EventHandler`.
      - Added the handling of the 'required' attribute in `Manager` to ensure all cron objects are aware
      of if they are required or not. This attribute is set to `true` for required crons and `false` if
      not specified or not required.
      - Simplified the array replacement in `EventHandler`.
      
      This improvement in how cron tasks are managed will result in more efficient and robust operation
      of the system.
      311f2c3a
    • Henning Leutz's avatar
      feat: add cleanup cron history functionality · 524889db
      verfasst von Henning Leutz
      Added a new functionality to the QUI Cron system for cleaning up cron history. These changes
      include:
      - An additional cron task defined in `cron.xml` for housekeeping the cron history.
      - A new function called `cleanupCronHistory(array $params, Manager $CronManager)` in
      `QuiqqerCrons.php` that removes old cron history entries which are older than a defined amount of
      weeks.
      - Added a new field and additional indexes in the `cron_history` table in `database.xml` to support
      the new feature.
      - New localized messages are added for the cron cleanup task 'title' and 'description' in
      `locale.xml`.
      
      Related: #59
      524889db
  2. Feb 02, 2023
  3. Aug 31, 2022
  4. Mär 28, 2022
  5. Feb 25, 2022
  6. Feb 09, 2022
  7. Dez 23, 2021
  8. Dez 22, 2021
  9. Mär 17, 2020
  10. Jan 15, 2020
  11. Jun 24, 2019
  12. Jan 04, 2019
  13. Jan 03, 2019
  14. Dez 21, 2018
  15. Dez 20, 2018
  16. Jul 05, 2016
  17. Jul 20, 2015
  18. Jan 23, 2015
  19. Aug 13, 2014
  20. Mär 05, 2014
  21. Feb 18, 2014
  22. Feb 13, 2014
  23. Feb 10, 2014
  24. Feb 09, 2014
Lade