Page MenuHomeSoftware Heritage
Paste P1174

(An Untitled Masterwork)
ActivePublic

Authored by ardumont on Sep 23 2021, 11:11 AM.
visit_type=hg; sleep=300; while true; do for policy in never_visited_oldest_update_first already_visited_order_by_lag ; do echo "$(date) scheduling $visit_type origins with policy ${policy}"; SWH_C
ONFIG_FILENAME=/etc/softwareheritage/scheduler/listener-runner.yml swh scheduler -C /etc/softwareheritage/scheduler/listener-runner.yml origin send-to-celery --policy $policy $visit_type; echo "$(date) sleep
$sleep" ; sleep $sleep; done; done