systemd_cmd_timer

Function systemd_cmd_timer 

Source
pub fn systemd_cmd_timer(
    time: u32,
    description: &str,
    unit: &str,
    cmd: &[&str],
) -> Result<()>
Expand description

Spawn systemd timer to run the given command.

This may ask for root privileges through sudo.