API reference: Daily helper

schedium.triggers.Daily(*, at=None)[source][source]

Convenience trigger: run daily, optionally at a time.

Parameters:
atstr | datetime.time, optional

Time of day to run at. If not provided, it will not constrain the time. Can be a datetime.time object, or a string in “HH:MM” or “HH:MM:SS[.mmm]” format.

Parameters:

at (str | time | None)

Return type:

BaseTrigger

Notes

This helper composes triggers to express a daily schedule.

  • Tick(Granularity.DAY) provides a DAY “bucket” for deduplication.

  • If at is provided, it constrains hour/minute (and optionally second/millisecond).

Examples

>>> Daily()
>>> Daily(at="09:30")
>>> from datetime import time
>>> Daily(at=time(9, 30, 15))