pub fn spawn_update_checker(server_url: String) -> Result<()>Expand description
Spawns the background update checker task.
This task:
- Waits until the scheduled time (or runs immediately if past)
- Checks for updates from the server
- Updates the global status
If serve_public_web_site_only is enabled and the domain is the official
collectivetoolbox.com domain, automatic updates are skipped (deployments are
handled separately).
If serve_public_web_site_only is enabled and the domain is NOT the official
domain, the auto_restart_enabled flag is set to skip interactive prompts.
§Arguments
server_url: URL of the update server
§Errors
Returns an error if the scheduled time cannot be determined.