While working on something else I found a rare case where the jobs of certain tools can't be listed because for some reason we can't parse the cron expression.
The tools in question are coverme and trainbow on tools (seems like they are the only ones).
Steps to replicate the issue (include links if applicable):
- ssh login.toolforge.org
- sudo -i -u tools.coverme
- toolforge jobs list
What happens?:
ERROR: TjfCliError: Failed to parse cron expression '@daily': expected to find 5 space-separated values, found 1 ERROR: Please report this issue to the Toolforge admins if it persists: https://w.wiki/6Zuu
What should have happened instead?:
should return a list of running jobs
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
tools-harbor.wmcloud.org/toolforge/jobs-api:image-0.0.366-20250411193858-11bbceab