Bugzilla – Attachment 86993 Details for
Bug 22577
Cronjobs (and other scripts) should be attributed to a 'real' user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22577: Set 'cron' user for fines job
Bug-22577-Set-cron-user-for-fines-job.patch (text/plain), 671 bytes, created by
Martin Renvoize (ashimema)
on 2019-03-25 19:05:44 UTC
(
hide
)
Description:
Bug 22577: Set 'cron' user for fines job
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-03-25 19:05:44 UTC
Size:
671 bytes
patch
obsolete
>From beb52e3c57d700d084b72f7f1c7b142fd3729f8b Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 25 Mar 2019 19:04:58 +0000 >Subject: [PATCH] Bug 22577: Set 'cron' user for fines job > >--- > misc/cronjobs/fines.pl | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/misc/cronjobs/fines.pl b/misc/cronjobs/fines.pl >index 89ad4a2d3c..4ee9f403fe 100755 >--- a/misc/cronjobs/fines.pl >+++ b/misc/cronjobs/fines.pl >@@ -71,6 +71,10 @@ if ($help) { > exit; > } > >+C4::Context->set_userenv( >+ '-1', '-1', undef, 'CRON', 'CRON', undef, >+ undef, undef, undef, undef, undef >+); > cronlogaction(); > > my @borrower_fields = >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22577
:
86991
|
86992
|
86993
|
87007
|
87008
|
87013
|
87014
|
87015
|
87017
|
87028
|
87029
|
87030
|
87031
|
87032
|
87053
|
87054
|
87055
|
87056
|
87057
|
87058
|
87059
|
87060