Beignet API reference
    Preparing search index...

    Function createSchedules

    • Create schedule helper methods bound to an application context type.

      Call it once in lib/schedules.ts:

      export const { defineSchedule } = createSchedules<AppContext>();
      

      Cron and timezone are metadata for schedule providers. The inline runner only runs schedules when its run(...) method is called.

      Type Parameters

      • Ctx

      Returns Schedules<Ctx>