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; ```
koha-plugin-patron-import/Koha/Plugin/Com/Biblibre/PatronImport.pm
Line 552 in b3961fc
When comming from a cron, it should set C4::Context interface 'cron'.
Maybe use like in Koha cronjobs :