[tech] Fwd: Cron <root at monnik> cd /etc/bind/domains/primary && ./usergrab.py && cp ucc-user-db.json /services/usercache/cache/
John Hodge
tpg at ucc.asn.au
Sun Mar 10 16:09:12 AWST 2024
Probably not. I didn't realise it was a thing, I only recreated the
outputs of original zonemake.
John Hodge [TPG]
UCC Wheel Member
On 10/03/2024 4:08 pm, Gearoid (zixty) O'Donovan wrote:
>
> Hi tpg,
>
> Is the functionality of usergrab.py and the copying of the userdb file
> replaced in zonemake2? If so, can I delete this old cronjob and has it
> been replaced by a new one?
>
> Cheers,
> zixty
>
>
> -------- Forwarded Message --------
> Subject: Cron <root at monnik> cd /etc/bind/domains/primary &&
> ./usergrab.py && cp ucc-user-db.json /services/usercache/cache/
> Date: Sun, 10 Mar 2024 12:10:01 +0800 (AWST)
> From: Cron Daemon <root at ucc.gu.uwa.edu.au>
> To: root at ucc.gu.uwa.edu.au
>
>
>
> Traceback (most recent call last):
> File "/etc/bind/domains/primary/./usergrab.py", line 23, in <module>
> from zonemake import isValidUser, loadUsersFromJSON, updateUserDB,
> removeExpiredFromUserDB, dumpUsersToJSON, checkUserDB,
> removeInvalidFromUserDB
> ModuleNotFoundError: No module named 'zonemake'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ucc.gu.uwa.edu.au/pipermail/tech/attachments/20240310/e82b8ca2/attachment.htm>
More information about the tech
mailing list