Schedules & Timers
This page explains how to create and manage scheduled and repeating tasks for your server. Users can configure tasks that execute commands at specific times or intervals.
Configuration File: schedules.yml
schedules.yml
The schedules.yml
file defines all scheduled and repeating tasks.
Example Structure
Behavior
Fixed Tasks
If no
days
are specified, the task runs every day at the giventime
.If
days
are specified, the task runs only on those days at the giventime
.
Repeatable Tasks
Executes for all online players at the specified
interval
.Runs continuously at the defined interval unless manually disabled.
Explanation of Fields
type
: Defines whether the task is executed at a specific time (fixed
) or at regular intervals (repeatable
).time
(only for fixed tasks): Specifies the execution time inHH:mm
format.days
(optional, only for fixed tasks): If provided, the task will only execute on the specified days; otherwise, it runs daily.interval
(only for repeatable tasks): Defines the time interval in seconds between task executions.commands
: A list of commands that will be executed when the task is triggered.
Last updated