Page MenuHomePhabricator

runJobs.php not output anything when job queue is empty
Closed, ResolvedPublic

Description

If the job queue is empty and there is no error occurred in runtime, runJobs.php will not output anything. This is very weird to the operator, the operator can't determine if the script was successfully executed or failed.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 17 2018, 6:04 PM
RazeSoldier added a comment.EditedFeb 17 2018, 6:05 PM

Is there any need to improve this script? For me, this is necessary.

RazeSoldier renamed this task from runJobs.php output something when job queue is empty to runJobs.php not output anything when job queue is empty.Feb 17 2018, 6:11 PM

I can work it.

Change 412496 had a related patch set uploaded (by 星耀晨曦; owner: 星耀晨曦):
[mediawiki/core@master] runJobs.php output something when the job queue is empty

https://gerrit.wikimedia.org/r/412496

Change 412496 merged by jenkins-bot:
[mediawiki/core@master] runJobs.php output something when the job queue is empty

https://gerrit.wikimedia.org/r/412496

D3r1ck01 closed this task as Resolved.Mar 17 2019, 1:22 PM