DESCRIPTION

The 'pulse' plugin sends a message once per minute. The message contains the following fields:

date: yyyy-mm-dd
time: hh:mm
day: xday

The 'day' field will contain the full weekday name in lower case.

The message can be used within the reactor to trigger jobs to start at certain times or dates.

Each time the Pulse plugin runs, it will reschedule itself to run again at the minute change.

There is no guarantee that the pulse will occur on time, but there is a guarantee that no minutes will be skipped. When the Pulse plugin runs, it checks the cache to find the last time it was run. If any pulses were missed (e.g. because wubot was not running or was unable to run the Pulse for a minute), then the Pulse check will immediately send messages for all the missed minutes. If the pulse was triggered late, then the 'age' field on the message will indicate the number of minutes old that the message was at the time it was generated. If the 'age' field is false, that indicates that the message was sent during the minute that was indicated on the message.

Module Install Instructions

To install Wubot::Plugin::Pulse, simply copy and paste either of the commands in to your terminal