INNER CODE UNIT · Python

every

MichielMe/fastscheduler · src/fastscheduler/main.py:162

    def every(self, interval: Union[int, float]) -> IntervalScheduler:
        """Schedule a task to run every X seconds/minutes/hours/days."""
        return IntervalScheduler(self, interval)

    @property
    def daily(self) -> DailyScheduler:
        """Schedule a task to run daily at a specific time."""
        return DailyScheduler(self)

    @property
    def weekly(self) -> WeeklyScheduler:
        """Schedule a task to run weekly on specific days."""
        return WeeklyScheduler(self)

    @property
    def hourly(self) -> HourlyScheduler:
        """Schedule a task to run hourly at a specific minute."""
        return HourlyScheduler(self)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…