HomePhabricator

Create Scheduler API

Authored by Sashank Thupukari <s@thupukari.com> on Fri, Aug 9, 10:17 PM.

Description

Create Scheduler API

Summary:
Scheduler API:

Scheduler is an abstract class which defines methods such as create_schedule, start_schedule, etc. Each instance of a Scheduler stores a list of RunSchedules

Two implementations of Scheduler included are:

  • TestScheduler - works entirely in memory and does not implement starting and stopping schedules (just creating and removing them)
  • SystemCronScheduler - saves schedules to a file, and uses cron to start and stop schedules.

Test Plan: unit

Reviewers: #ft, alangenfeld, schrockn

Reviewed By: #ft, alangenfeld

Subscribers: schrockn, alangenfeld, max

Differential Revision: https://dagster.phacility.com/D791

Details

Committed
Sashank Thupukari <s@thupukari.com>Tue, Aug 13, 6:16 PM
Reviewer
Restricted Project
Differential Revision
D791: Create Scheduler API
Parents
R1:6c8085ab85af: Create script to generate library
Branches
Unknown
Tags
Unknown