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.
pub fn register(
event_time: NaiveDateTime,
unit_name: UnitName<'_>,
command: Command,
) -> Result<(), RegistrationError>Calls systemd-run to register command to wake at specified time using provided name.