Scheduled Tasks#
The task decorator accepts a Period or Cron schedule for automatic execution. Use a schedule when the platform should create invocations from a recurring declaration rather than only from an explicit remote call.
Current API#
Declare a schedule with @app.task(schedule=...), using yak.Period or yak.Cron. The schedule is part of the Task declaration and should be kept separate from the arguments passed to the callable.
Preview boundary#
Schedules are part of the current SDK declaration surface, but persistent Live Apps created with yak deploy currently reject scheduled Tasks. Confirm the run path before relying on a Schedule.