Special kind of Recurring Task that only gets executed in weeks, where lectures are held

Hierarchy

Constructors

Properties

Methods

Constructors

  • Creates a new recurring task, which will always get run at the specified day & time and when the day has lectures.

    Parameters

    • weekday: Weekday

      Weekday on which the task should run

    • hour: number

      Hour which the task should run

    • minute: number

      Minute which the task should run

    • runner: TaskExecutor

      Function to execute

    • Optional functionArguments: unknown[]

      Array of additional parameters to pass to the runner function

    • Optional lookAheadDays: number

      Days to check in advance for being a day with lectures

    Returns default

Properties

lookAheadDays: number
kitDates: default = ...

Methods

  • Runs this recurring task and catches exceptions.

    Parameters

    • client: Client<boolean>

      Client to run the task with

    Returns Promise<void>

Generated using TypeDoc