Multipage_Blog_Dev_Notes 

TB Wiki

Login

Feature:Triggers in split format

Triggers are a feature that allows the TBWiki system to scheduleperiodic actions, that can affect outside systems, and save dataat regular intervals in the wiki.
Triggers are a feature that allows the TBWiki system to scheduleperiodic actions, that can affect outside systems, and save dataat regular intervals in the wiki.

Example of trigger (charting up-time) [edit section]

UP-trigger - has a trigger to perform an operation which detects if a site is up or not * Site UP-chart - data table with 'up' data, and chart * this page has a snapshot configuration, which runs the uptime macro * chart is not finished as of 2026-09-12
= Example of trigger (charting up-time) = * [[UP-trigger]] - has a trigger to perform an operation which detects if a site is up or not * [[Site UP-chart]] - data table with 'up' data, and chart   * this page has a snapshot configuration, which runs the uptime macro   * chart is not finished as of 2026-09-12

Bugs [edit section]

= Bugs = * on 2026-09-12: triggerd was failing for numerous reasons:   * not configured to run tbwiki's triggers in crontab   * not referencing the right snapshot block   * not compatible with python3 (parsedate has non-paren-ed print statements)
TBWiki engine 2.0.1 by Tim Bird