Bug 30889: Set userenv for background jobs
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 7 Jun 2022 12:39:44 +0000 (14:39 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 30 Jun 2022 15:03:13 +0000 (12:03 -0300)
commit0f2425a2433adc380b9bd06c7fdd20d5d7a268a6
treeae541d7fee46b3bb622633ef98766d407ba45d5a
parent6c315c164dbcf3e05fcfe4a3110b824ab3ac162c
Bug 30889: Set userenv for background jobs

We need to set the userenv when we process the jobs. It is useful for
stats (at least)

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
misc/background_jobs_worker.pl