Timed Commands
Information
This section will explain how to use the timed commands module. This module allows you to run commands and scripts at a specific time and interval.
Configuration
The configuration options are located in the config.js
file under the timedCommands
section.
config.js → timedCommands
timedCommands: [
// list of commands that will be executed at the specified interval
{
name: 'Wild dino wipe', // name of the command
interval: '0 0/5 * 1/1 * ? *', // this must be a cron expression, You can use http://www.cronmaker.com/ to generate a cron expression.
commands: ['destroywilddinos'], // list of commands to execute
tag: 'daily', // all servers with this tag will execute this command
},
],