10:30:57 softwareheritage-scheduler@belvedere:5432=> select now(), status, count(*) from task where type = 'index-origin-metadata' group by status; +-------------------------------+------------------------+---------+ | now | status | count | +-------------------------------+------------------------+---------+ | 2022-07-19 08:35:10.207831+00 | next_run_not_scheduled | 9804975 | | 2022-07-19 08:35:10.207831+00 | next_run_scheduled | 5224 | | 2022-07-19 08:35:10.207831+00 | completed | 3223596 | | 2022-07-19 08:35:10.207831+00 | disabled | 5736 | +-------------------------------+------------------------+---------+ (4 rows) Time: 31754.940 ms (00:31.755)