Lines Matching defs:timer
85 "Run the specified command in a transient scope or service or timer\n"
86 "unit. If timer option is specified and unit is exist which is\n"
115 " --on-calendar=SPEC Realtime timer\n"
116 " --timer-property=NAME=VALUE Set timer unit property\n",
179 { "timer-property", required_argument, NULL, ARG_TIMER_PROPERTY },
293 log_error("Failed to parse timer value: %s", optarg);
303 log_error("Failed to parse timer value: %s", optarg);
313 log_error("Failed to parse timer value: %s", optarg);
323 log_error("Failed to parse timer value: %s", optarg);
333 log_error("Failed to parse timer value: %s", optarg);
392 log_error("--pty is not compatible in timer or --scope mode.");
407 log_error("--timer-property= has no effect without any other timer options.");
1055 _cleanup_free_ char *timer = NULL, *service = NULL;
1074 r = unit_name_change_suffix(service, ".timer", &timer);
1080 timer = strdup(arg_unit);
1081 if (!timer)
1084 r = unit_name_change_suffix(timer, ".service", &service);
1094 r = unit_name_mangle_with_suffix(arg_unit, UNIT_NAME_NOGLOB, ".timer", &timer);
1105 r = unit_name_change_suffix(service, ".timer", &timer);
1125 r = sd_bus_message_append(m, "ss", timer, "fail");
1180 log_error("Failed to start transient timer unit: %s", bus_error_message(&error, -r));
1192 log_info("Running timer as unit %s.", timer);