pterodactyl.ts
    Preparing search index...

    Class ScheduleBuilder

    Index

    Constructors

    Properties

    day_of_month: string = '*'
    day_of_week: string = '*'
    hour: string = '*'
    is_active: boolean = true
    minute: string = '*'
    month: string = '*'
    name: string
    only_when_online: boolean = true

    Methods

    • Sets the day of the month of the schedule. Example: */5: Every 5th day of the month 1-31: Range of days 1,3,5: Specific days */5: Every 5th day of the month

      Parameters

      • dayOfMonth: string

        The day of the month of the schedule.

      Returns ScheduleBuilder

    • Sets the day of the week of the schedule. Example: */5: Every 5th day of the week 0-6: Range of days (0 = Sunday, 6 = Saturday) 0,2,4: Specific days */5: Every 5th day of the week

      Parameters

      • dayOfWeek: string

        The day of the week of the schedule.

      Returns ScheduleBuilder