Lines Matching defs:job
502 puts(job_count ? "JOB = Pending job for the unit.\n" : "");
2124 static bool output_show_job(struct job_info *job, char **patterns) {
2125 return strv_fnmatch_or_empty(patterns, job->name, FNM_NOESCAPE);
2163 struct job_info job = { id, name, type, state };
2165 if (!output_show_job(&job, strv_skip(argv, 1))) {
2173 jobs[c++] = job;
2207 return log_error_errno(q, "Failed to parse job id \"%s\": %m", *name);
2219 log_error_errno(q, "Failed to cancel job %"PRIu32": %s", id, bus_error_message(&error, q));
4682 /* Interpret as job id */
4683 if (asprintf(&unit, "/org/freedesktop/systemd1/job/%u", id) < 0)
6189 " --job-mode=MODE Specify how to deal with already queued jobs, when\n"
6190 " queueing a new job\n"
6479 { "job-mode", required_argument, NULL, ARG_JOB_MODE },