Skip to main content

Module daemon

Module daemon 

Source

Enums§

DaemonStatus
Status of the background daemon task.

Functions§

daemon_status
Check if the daemon is installed and its status.
get_exe_path
The binary path to register with the scheduler.
install_daemon
Install the OS-native daemon/scheduled task, firing every interval_days days.
refresh_hidden_twin
Rebuild the windowless scheduler binary after an upgrade, when one is in use.
registered_exe_path
The binary the installed scheduler entry will actually run, when that can be read.
uninstall_daemon
Uninstall the daemon/scheduled task.
wants_hidden_upgrade
Whether the installed scheduler entry should be re-registered to stop it flashing a console window at the logged-in user. Only Windows attaches a console to a scheduled task; the other platforms’ schedulers never open a terminal, so there the answer is always no.