Command Scheduling
The Scheduler is a system that allows you to schedule commands to be run at certain times automatically. It can only be used via the GPORTAL | NITRADO console.
The following commands cannot be scheduled:
entity.spawn
inventory.givedrop
spawnitem
Setup
To create a Scheduler action, you must start the command with
CreateAction ConVarSchedulerAction
Then, there are several arguments you can adjust:
StartTime EndTime RepeatTime RepeatAmount Command CommandParams
📟
CreateAction ConvarSchedulerAction[0] [1] [2] [3] [4] [5]This command creates a scheduled action with the following parameters:
[0]
StartTime
When this command can run from
"01/11/2024 10:30:00"
[1]
EndTime
When this command will stop running
"08/11/2024 10:30:00"
[2]
RepeatTime
The time interval between each time this command runs
"01:00:00"
[3]
RepeatAmount
How many times this command will run
24
[4]
Command
The command you want to run
say
[5]
CommandParams
The parameters for your chosen command
"Join our discord!"
Please note, all times used in The Scheduler commands are in UTC with date format DD/MM/YYYY and time format HH:MM:SS.
Example
📟
CreateAction ConVarSchedulerAction "01/11/2024 10:30:00" "15/06/2025 19:55:00" "00:01:00" 10 say "Welcome"This will run the "say" command every minute (which will put the text "Welcome" in the game chat), 10 times, starting at 10:30 UTC on November 1st 2024.
listactions
The listactionscommand will return all created Scheduler actions with their IDs

removeaction
The removeaction command will delete the action whose ID you input
Example
📟
removeaction 3This will delete the action with the ID 3
Last updated
Was this helpful?