inexorgame-obsolete / deprecated-cube-engine-inexor

UNMAINTAINED: Please have a look at the vulkan-renderer
https://inexor.org
zlib License
11 stars 1 forks source link

Integrate a scheduler #523

Open aschaeffer opened 6 years ago

aschaeffer commented 6 years ago

Enhance Inexor Flex with a scheduler to trigger time-based events.

Examples for time-based events

Task name Description Schedule (examples!)
updateMediaRepositories Update media repositories Every hour
updateInterfaces Update interfaces Every day
updateReleaseList Update release list Every day
updateServerList Update server list Every minute
restartServerInstance Restart server instance Every night
autoSaveMap Automatically saves the current map in a coop edit session Every minute

You got the idea.

Inexor Tree

Tasks

See also

a-teammate commented 6 years ago

Doesn't this actually belong into a user plugin? I mean besides the autosave usecase none is really critical for our future development. And why not just autosave after changes are made?

aschaeffer commented 6 years ago

examples! :-)

aschaeffer commented 6 years ago

This feature isn't meant for developers but server administrators and end users. Server admins and end users simply doesn't have to do these tasks manually any more. It also helps to reduce the support questions, because content and user interfaces are kept up to date without any action required by the server admin or end user. Also plugin developers can use the scheduler for their needs.