Skip to content

Job report

Eamedina requested to merge temp-report into main

The actual report creation is spread out in init method which is slightly ugly but if this is just temporary it should be fine.

Example:

...
[2024-01-17 17:06:43] DEBUG [0LEqFOg5eaM] Resolved mail.tools.wmcloud.org as 185.15.56.63 [cache hit]

######################### CRON JOB REPORT #########################
Number of subscribers: 4
id: 1, transportId: eamedina@wikimedia.org, transportType: email, createdAt (UTC Month/Day - hour): 11/12 - 16, recs: [ Monochromator, Polish–Lithuanian Commonwealth, Heliosphere, Piebaldism ]
id: 2, transportId: carlos@wikimedia.org, transportType: email, createdAt (UTC Month/Day - hour): 11/13 - 17, recs: [ Congenital sensorineural deafness in cats, Chromosphere, Control of fire by early humans, Light-year ]
id: 5, transportId: trujillo@wikimedia.org, transportType: email, createdAt (UTC Month/Day - hour): 1/8 - 19, recs: [ Fertile Crescent, Domestication, Theresa May, Geometrized unit system ]
id: 6, transportId: pablo@wikimedia.org, transportType: email, createdAt (UTC Month/Day - hour): 1/8 - 20, recs: [ The New York Times, Anders Jonas Ångström, Sól (Germanic mythology), Solar dynamo ]
###################################################################

[2024-01-17 17:07:00] DEBUG Sending mail using SMTP/6.9.7[client:6.9.7]
...
Edited by Eamedina

Merge request reports