register

Function register 

Source
pub fn register(
    event_time: NaiveDateTime,
    unit_name: UnitName<'_>,
    command: Command,
) -> Result<(), RegistrationError>
Expand description

Calls systemd-run to register command to wake at specified time using provided name.