This is part of our commercial offering.

V1DateTimeSchedule

polyaxon.polyflow.schedules.datetime.V1DateTimeSchedule(kind='datetime', start_at=None)

Date schedule is an interface to kick a component execution at a specific time.

  • Args:
    • kind: str, should be equal to datetime
    • start_at: datetime, required

YAML usage

schedule:
  kind:
  startAt:

Python usage

from datetime import datetime
from polyaxon.polyflow import V1DateTimeSchedule
schedule = V1DateTimeSchedule(
  start_at=datetime(...),
)

Fields

kind

The kind signals to the CLI, client, and other tools that this schedule is a datetime schedule.

If you are using the python client to create the schedule, this field is not required and is set by default.

run:
  kind: datetime

startAt

Optional field to set the start time for kicking the first execution, all following executions will be relative to this time.

run:
  startAt: "2019-06-24T21:20:07+00:00"