after_session_base
This module runs at the end of each session when the animal is back home.
It backs up the session data to a remote server using rsync.
You can override this class in your project code to implement custom behavior.
Classes
Base class for operations performed after a session ends. |
- class AfterSessionBase[source]
Bases:
objectBase class for operations performed after a session ends.
This class handles data synchronization (backup) to either a hard drive or a remote server based on current settings.
- run() None[source]
Executes the post-session logic, primarily data synchronization.
Checks the SYNC_TYPE setting and initiates either a local or remote rsync.