Page MenuHomeSoftware Heritage

Add a new 'task respawn' command
ClosedPublic

Authored by douardda on Jan 14 2019, 11:44 AM.

Details

Summary
  • Add a 'next_run' argument to the SchedulerBackend.set_status_tasks method so this method can be used to respawn a task immediately.
  • Add a new 'task respawn' command that allows to respawn any task immediately (or any later date).

Depends on D934

Diff Detail

Repository
rDSCH Scheduling utilities
Branch
wip
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 3453
Build 4455: tox-on-jenkinsJenkins
Build 4454: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jan 14 2019, 12:25 PM
ardumont added a subscriber: ardumont.
ardumont added inline comments.
swh/scheduler/cli.py
349

this date

354

given

Add missing part for the server side of the set_status_tasks endpoint

This revision was automatically updated to reflect the committed changes.