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:
| # | Argument | Description | Example |
|---|---|---|---|
[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.
If you make the command repeat, the end time will automatically adjust to when the command will be done repeating
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 3
This will delete the action with the ID 3