Bug 24668 - Allow users to specify in plugins how often to run the plugin's cron
Summary: Allow users to specify in plugins how often to run the plugin's cron
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Plugin architecture (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 20897
Blocks:
  Show dependency treegraph
 
Reported: 2020-02-14 21:00 UTC by Liz Rea
Modified: 2020-02-14 21:01 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Liz Rea 2020-02-14 21:00:42 UTC
as an extension of bug 20897, it would be nice for plugin authors to be able to specify when to run a cron. 

One way to do it might be to have minute, hourly, and daily default crons, and they each check for the timing flag in the plugin config.
Comment 1 Liz Rea 2020-02-14 21:01:20 UTC
and a "do not run the cron for this plugin" option.