Sueta

Tasker

1.1

Cron task scheduler

·Plugin

Execute a command at any time or at regular interval.

Use Cron to specify the time: https://www.freeformatter.com/cron-expression-generator-quartz.html

Example configuration:

plugins/Tasker/config.json
{

"timeZone": "Europe/Berlin",
"tasks": [

{

"cron": "* * * ? * *",
"command": "msg @a Hello from Tasker!"

},
{

"cron": "0/10 0 0 ? * * *",
"command": "kick @r Test kick!"

}

]

}

Possible error sources

If the command contains double quotes, they need to be escaped using a backslash:
"command": "tellraw @a [\"\",{\"text\":\"Tellraw\",\"color\":\"dark_green\"},{\"text\":\" example\",\"color\":\"blue\"}]"

Do not mix up the different quote symbols:
Use:
"
Do not use: “ ”

Write a comma between every element:
{

"timeZone": "Europe/Berlin",
"tasks": [

{

"cron": "* * * ? * *",
"command": "msg @a Hello from Tasker!"

},

{

"cron": "0/10 0 0 ? * * *",
"command": "kick @r Test kick!"

}

]

}

Similar projects

Plugin →