Open fridobox opened 2 years ago
https://github.com/biblibre/koha-plugin-patron-import/blob/b3961fc39acf8d6f3743fece44bfdba2b0d9e086/Koha/Plugin/Com/Biblibre/PatronImport.pm#L552
When comming from a cron, it should set C4::Context interface 'cron'.
Maybe use like in Koha cronjobs :
use Koha::Script -cron;
One should use syspref override in ENV
Like Harvester: https://git.biblibre.com/biblibre/abesbnf/src/commit/ea308e260562843d449d4ebddab8bc59562c513f/vendangeur/src/vendangeur.pl#L73
https://github.com/biblibre/koha-plugin-patron-import/blob/b3961fc39acf8d6f3743fece44bfdba2b0d9e086/Koha/Plugin/Com/Biblibre/PatronImport.pm#L552
When comming from a cron, it should set C4::Context interface 'cron'.
Maybe use like in Koha cronjobs :