[Koha-bugs] [Bug 1993] Task Scheduler Needs Re-write

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 13 03:57:50 CET 2014


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

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcook at prosentient.com.au

--- Comment #45 from David Cook <dcook at prosentient.com.au> ---
I like Galen's idea of using a database table to store reports, and then using
a cronjob to execute those reports on a periodic basis.

I'm not sure if we even need to allow them to specify an exact time though. One
of our libraries mentioned wanting to have daily/weekly/monthly reports. It
would probably be enough to set up three cronjobs (daily, weekly, monthly), and
then run the reports (or jobs) that have been designated as such in the DB
table.

After all, if the report is run before the library opens or after it closes, it
should provide all the functionality desired. I would have my doubts about
needing a report run at 1:35pm each day.

I suppose it is possible though that you might want "morning" and "afternoon"
reports, so maybe it is worth using times in the DB table. Or perhaps that's
where you just add another cronjob daily cronjob for a different time. 

That would give the sysadmin ultimate say while also giving librarians the
overall functionality that they desire.

Robin also suggested using the 'batch' command which "executes commands when
system load levels permit" (source: man batch (1) ).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list