https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36206 --- Comment #9 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- (In reply to David Cook from comment #7)
(In reply to Martin Renvoize from comment #6)
Currently this is easiest to test using the in-development crontab manager plugin, admin_plugin branch: https://github.com/PTFS-Europe/koha-plugin-crontab/tree/admin_plugin
Can't locate Config/Crontab.pm in @INC (you may need to install the Config::Cron tab module)
sudo apt-get install libconfig-crontab-perl
sudo sh install_plugins.sh
No crontab found, installing default at /var/lib/koha/kohadev/koha-plugin-crontab/Koha/Plugin/Com/PTFSEurope/Crontab. pm line 140. Writing crontab: # This crontab file is managed by the Koha Crontab manager plugin
# BLOCKID: 0 PERL5LIB=/usr/share/koha/lib KOHA_CRON_PATH=/usr/share/koha/bin/cronjobs KOHA_CONF=/etc/koha/sites/kohadev/koha-conf.xml Installed Crontab version {VERSION} All plugins successfully re-initialised
Yeah, I also have a work-in-progress branch that attempts to use Module::Load::Conditional to output a nicer warning in the UI when the library is missing... that or I'm considering bundling Config::Crontab into the plugin itself.. so far I've not come up with a nice solution for plugins that have cpan dependencies.. any idea's on a nice way to handle such cases would be awesome. Anyway, it looks like you managed to get there on the install and the default template was installed (it'll check for local crontab and load that, or it'll load a very basic template if one isn't found.. local crontab = whatever you may have added to a crontab using koha-shell for example. -- You are receiving this mail because: You are watching all bug changes.