Navigation:  Server >

Task Scheduler

Previous pageReturn to chapter overviewNext page

Task scheduler is used to run Lua script at a specified time.

 

system-tasks

 

 

Click the button "Add Task" to add a task with Lua scripting.

For example, you can remove inactive users that have not logged in within 15 days by adding a daily task.

 

 

Add Task

 

add-system-task

 

 

Task Name:       The description for task

From Date:        The task will start after this date

Start Time:        The task will start after this time

Type:                One Time/Once Hour/Once Day/Once Week/Once Month

Lua Script:        Lua script you want to run

 

The Lua script editor supports syntax highlighting and also supports several hotkeys:

Ctrl+Z --> Undo

Ctrl+Y --> Redo

Ctrl+F --> Find & Replace

Ctrl+G --> Go to line