[Koha-bugs] [Bug 8337] System preferences for longoverdue cron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 17 01:36:51 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8337

--- Comment #23 from Jesse Weaver <jweaver at bywatersolutions.com> ---
I have some ideas related to this, though implementation is a bit stalled at
the moment. My plans were for a configuration system outside of the system
preferences, which could potentially replace all daily tasks in the crontab
with:

0 1 * * * $KOHA_CRON_PATH/misc/cronjobs/run_daily_tasks.pl

and a matching database structure to hold information on enabled/disabled
cronjobs and all of their selected options (including metadata, somewhere, on
what options were available for each and what values they took). This cronjob
would load up all enabled cronjobs, figure out what dependency order they had
to be executed in, then run them in series. There was also some thought for a
built-in output logging facility.

Note that I don't have any plans to modify the cronjobs in question; they would
still be run as external scripts, just with options built up from the
configuration in the database.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list