This plugin allows you to execute commands periodically.
Config :
The config is named
commands.json and can be found in CommandScheduler plugin folder.
You can find too a genererated
commands_example.json file the first time after you launch the plugin which gives you multiple use examples.
Here are some non exhaustive examples :
Code (Text):
[
{
"name": "entry1",
"time": "12:42:42",
"timeScope": "DAILY",
"commands": [
"command1"
]
},
{
"name": "entry2",
"time": "12:42",
"timeScope": "WEEKLY : WEDNESDAY",
"commands": [
"command2",
"command3"
]
}
]
All
timeScope values are :
Code (Text):
- DAILY
- WEEKLY : Day
- MONTHLY : Day
- YEARLY : Day
*Note that
DAILY does not take a
Day argument*
All
Day values are :
Code (Text):
- MONDAY
- TUESDAY
- WEDNESDAY
- THURSDAY
- FRIDAY
- SATURDAY
- SUNDAY
- FIRST_DAY
- LAST_DAY
PlaceHolderApi :
This plugin provides a placeholder which indicates in how long your entries will be executed. Usage :
Code (Text):
%cs_entry1_Format%
You need to replace
Format with one or multiple of the following :
Code (Text):
- "y" -> years
- "M" -> months
- "d" -> days
- "H" -> hours
- "m" -> minutes
- "s" -> seconds
- "S" -> milliseconds
You can freely add text in
Format by adding single quotes : 'text'
Example :
Code (Text):
Execution in : %cs_entry1_HH 'hours,' mm 'minutes,' ss 'seconds'%
Report bugs at :
https://github.com/Aeliios/CommandScheduler