MNeill73

Results 33 comments of MNeill73

In theory this would work. In my head, I'm pondering having one of my report scripts tee the output into a defined static file whenever it runs, so that current...

Did this make it into the Dev branch yet? On Fri, Mar 10, 2023 at 10:07 AM Iaroslav Shepilov ***@***.***> wrote: > Done, now it's possible to configure preload script...

Yeah, it's definitely not behaving for me. I've re-pulled the dev branch, just to make sure. My conf looks like: { "title": "XXXXXXX", "auth": { "type": XXXXXXX, "expiration_days": 3 },...

Nothing interesting: 2023-03-14 17:52:55,808 [tornado.access.INFO] 200 GET /login.html?next=%2Findex.html (136.56.30.109) 1.35ms 2023-03-14 17:52:55,844 [tornado.access.INFO] 200 GET /theme/theme.css (136.56.30.109) 1.50ms 2023-03-14 17:52:55,874 [tornado.access.INFO] 200 GET /css/chunk-login-vendors.c0ff70ff.css (136.56.30.109) 26.94ms 2023-03-14 17:52:55,876 [tornado.access.INFO] 200...

OH, so this is a preload that displays on the screen for a given script, not for the login page? That's still partly useful for me, I think...but is there...

On Fri, Apr 14, 2023 at 7:03 AM Iaroslav Shepilov ***@***.***> wrote: > conn = ldap3.Connection(server, user=LDAP_BIND_DN, password=LDAP_BIND_PW, auto_bind=True) > > conn = ldap3.Connection(server, user=full_username, password=password, auto_bind=True) > > The...

If I were doing this I'd... #!/path/to/python/shebang 1>/tmp/scriptout.tmp 2>&1 ... Your script stuff here ... $INFILE=`cat /tmp/scriptout.tmp` && rm /tmp/scriptout.tmp echo $INFILE | jq . On Tue, May 23, 2023...

Holy hell I can't send emails right today... If the purpose of this is to allow some users to see some logs for a given script, create a separate script...

Can you edit the script to be a wrapper, and check for it's own "last run date" (via a touch file or similar mechanism)? Then, if it hasn't run since...

Or, leave the script itself alone, except for adding said touchfile, and then schedule a separate watchdog that does the SS-vs-script-last-run comparison, and runs the scripts behind itself if SS...