Feature Wiki

Information about planned and released features

Tabs

Schedule for Orphaned Mails Cron-Job

1 Initial Problem

There is currently no option to define a schedule for the cron-job for deleting old and orphaned mails. This cron-job runs daily and produces notifications daily (if orphaned mails exist). It would be nice to reduce the mail load on some installations by reducing the cron-job runs to a weekly base. Adding the existing 'Schedule' option to this cron-job would allow this.

2 Conceptual Summary

  • Adding the option 'Schedule' to the existing cron-jo.
  • Set 'Daily' as default to keep the current behaviour.

3 User Interface Modifications

3.1 List of Affected Views

» Administration » General Settings » Cron Jobs

3.2 User Interface Details

  • The edit screen of the cron job should get an additional option 'Schedule' like already known from other cron-jobs, see below.
  • We don't want to support: "every X minutes" and "every X hours"

3.3 New User Interface Concepts

none

4 Technical Information

The cron job abstraction provides a public method \ilCronJob::getValidScheduleTypes() . This can be overwritten by derivatives to define their supported schedule types. Currently (incl. ILIAS 5.3.x), this collection of supported schedule types is not respected in the UI of the cron manager. Unsupported schedule types should be hidden (radio options).

5 Contact

6 Funding

If you are interest in funding this feature, please add your name and institution to this list.

7 Discussion

Jansen, Michael [mjansen] 29 Nov, 2017: As the maintainer I highly appreciate this feature.

JourFixe, ILIAS [jourfixe], 04 DEC 2017: We highly appreciate this request and schedule it for 5.4.

8 Implementation

Implemented as described above.

Test Cases

Test cases completed at 05 JAN 2018 by Kunkel, Matthias [mkunkel].

Approval

Approved at 05 JAN 2018 by Kunkel, Matthias [mkunkel].

Last edited: 19. Apr 2023, 12:28, Kunkel, Matthias [mkunkel]