[Bug 1993] Task Scheduler Needs Re-write
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=1993 --- Comment #59 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to David Cook from comment #58)
As Martin has noted elsewhere:
(In reply to Martin Renvoize from comment #6)
I've long felt our use of 'at' in scheduler was wrong, but we've not had a reasonable alternative. We now have BackgroundJobs and I could see us using that system as an alternative to using 'at' and calling a script.
I agree about using BackgroundJobs for the execution.
We'll still need a scheduler, and I think the shortest path forward is a cronjob-based scheduler script, which polls the database every X interval looking for jobs to run.
If we do this, could we make it work for scheduled repeated sending? I am thinking of something like daily, on a specific day of the week, first of the month, etc. and also a time for each of those. A specific time might not work I guess or at least not exactly. Maybe something like "after 8:00" and then the first cron run after that time would run it and set a 'last run on' date? -- You are receiving this mail because: You are watching all bug changes. You are the QA Contact for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org