Page MenuHomePhabricator

Restore missing heritage (ErfgoedBot) jobs (check-emailable-users & categorize-images)
Closed, ResolvedPublic

Description

When I ran into T407159 i deleted all jobs:

578  2025-10-19 19:33:21 dologmsg "T407159 Deleted all jobs (update-monuments, check-emailable-users & categorize-images)"

The jobs.yml only contains one job, so I'm unable to restore the other ones:

tools.heritage@tools-bastion-14:~$ pwd
/data/project/heritage
tools.heritage@tools-bastion-14:~$ cat jobs.yml 

-   name: update-monuments
    command: /data/project/heritage/bin/harvesting.sh
    image: python3.9
    schedule: '0 3  * * *'
    mem: 4G
    filelog-stdout: logs/harvesting.out
    filelog-stderr: logs/harvesting.err
``
I see in the history at least one job was manually added by @JeanFred :

417 2025-09-19 21:36:30 toolforge jobs run check-emailable-users --schedule "*/3 * * * *" --command "./bin/run_erfgoedbot_script.sh erfgoedbot/check_emailable_users.py -category:"Images_from_Wiki_Loves_Monuments_2025" -delta:4 -notify" --image python3.9

Please update the jobs.yml and deploy it based on that.

Event Timeline

Mentioned in SAL (#wikimedia-cloud) [2025-11-02T15:23:59Z] <wmbot~multichill@tools-bastion-14> T407159 login issue fixed, depolyed update-monuments. Created T409000 for missing jobs

JeanFred claimed this task.

categorize-images is created by update-monuments since 4faee3445f96 (T319787).

check-emailable-users I only schedule it when a WLM competition is running (I would also prefer to have it in code, l’ll see for next year)