Skip to content

PluginAutosave

Armin Burgmeier edited this page Aug 8, 2014 · 2 revisions

The autosave plugin

The autosave plugin stores the content of the text notes periodically into the root-directory of the infinoted server (see Infinoted Configuration). Normally, the server only stores text when it is shut down or 60s after all participants have left the session. This plugin is therefore recommended to avoid data loss in case of an unexpected server outage or a crash of the infinoted software itself.

Plugin options

  • interval: Specifies the interval, in seconds, whichin which a document is stored after it has been first modified. It must be a number greater than 0.
  • hook (opt): If given, specifies an executable file that is run every time a document is saved. The executable is provided two arguments: The root directory of the infinoted server and the path to the saved file within the root directory.

Example

[autosave]
interval=10

Makes sure that modifications to documents are stored every 10s into the server's permanent storage.

Other Plugins

Back to the list of infinoted plugins.