I don't receive any emails from Toolforge jobs for the
tool commonsdb-registry. I've followed the instructions under
Help:Toolforge/Jobs
framework#Job email notifications
<https://wikitech.wikimedia.org/wiki/Help:Toolforge/Jobs_framework#Job_email_notifications>.
I've verified that manually sending emails to
[email protected] works.

Is there something I'm missing to get the job emails to work?

Here are the commands I ran:
$ toolforge jobs run myjob --command "echo apa" --image bullseye --emails
onfinish
$ toolforge jobs show myjob
+---------------+----------------------------------------------------------------------+
| Job name:     | myjob
           |
+---------------+----------------------------------------------------------------------+
| Command:      | echo apa
            |
+---------------+----------------------------------------------------------------------+
| Job type:     | one-off
           |
+---------------+----------------------------------------------------------------------+
| Image:        | bullseye
            |
+---------------+----------------------------------------------------------------------+
| Port:         | none
            |
+---------------+----------------------------------------------------------------------+
| File log:     | yes
           |
+---------------+----------------------------------------------------------------------+
| Output log:   | /data/project/commonsdb-registry/myjob.out
            |
+---------------+----------------------------------------------------------------------+
| Error log:    | /data/project/commonsdb-registry/myjob.err
            |
+---------------+----------------------------------------------------------------------+
| Emails:       | onfinish
            |
+---------------+----------------------------------------------------------------------+
| Resources:    | mem: 0.5Gi, cpu: 0.5
            |
+---------------+----------------------------------------------------------------------+
| Replicas:     |
           |
+---------------+----------------------------------------------------------------------+
| Mounts:       | all
           |
+---------------+----------------------------------------------------------------------+
| Retry:        | no
            |
+---------------+----------------------------------------------------------------------+
| Timeout:      | no
            |
+---------------+----------------------------------------------------------------------+
| Health check: | none
            |
+---------------+----------------------------------------------------------------------+
| Status:       | Completed
           |
+---------------+----------------------------------------------------------------------+
| Hints:        | Last run at 2025-06-13T06:06:35Z. Pod in 'Succeeded'
phase. State    |
|               | 'terminated'. Reason 'Completed'. Started at
'2025-06-13T06:06:37Z'. |
|               | Finished at '2025-06-13T06:06:37Z'. Exit code '0'.
            |
+---------------+----------------------------------------------------------------------+


*Sebastian Berlin*
Utvecklare/*Developer*
Wikimedia Sverige (WMSE)

E-post/*E-Mail*: [email protected]
Telefon/*Phone*: (+46) 0707 - 92 03 84
_______________________________________________
Cloud mailing list -- [email protected]
List information: 
https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/

Reply via email to