Commits auf Quelle (5)
-
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
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
Updated the EventHandler class to improve handling of cron jobs and exceptions. Changes include: - Refactored variable names for clarity - Adjusted method to check last cron job execution, replacing custom Cron Manager method with direct database query to limit potential errors - Used DateTime to calculate timestamps and format dates - Simplified array constructs and replaced string substitutions - Added exception declaration to methods - Improved experience when handling cron history during migration. Related: #58 Related: #59
-
verfasst von Henning Leutz
This commit removes an unnecessary newline from QuiqqerCrons.php to improve readability of the code. No functional changes were made.
-
verfasst von Henning Leutz
feat: add cleanup cron history functionality See merge request !25