Lines Matching defs:queue
4 * at.c : Put file into atrun queue
76 static char atqueue = 0; /* which queue to examine for jobs (atq) */
159 newjob(time_t runtimer, int queue)
170 (long long)runtimer, queue);
184 writefile(const char *cwd, time_t runtimer, char queue)
216 if ((fd = newjob(runtimer, queue)) == -1)
391 return (j1->queue - j2->queue);
409 job->queue, timestr);
420 (long long)job->runtimer, job->queue, job->queue,
426 * List all of a user's jobs in the queue, by looping through
429 * default, the list is sorted by execution date and queue. If
442 char queue, *ep;
515 queue = *(ep + 1);
517 if (atqueue && (queue != atqueue))
553 job->queue = queue;
570 warnx("no files in queue");
837 "usage: at [-bm] [-f file] [-l [job ...]] [-q queue] "
843 "usage: atq [-cnv] [-q queue] [name ...]\n");
851 "usage: batch [-m] [-f file] [-q queue] [timespec]\n");
862 char queue = DEFAULT_AT_QUEUE;
929 case 'q': /* specify queue */
933 atqueue = queue = *optarg;
934 if (!(islower((unsigned char)queue) ||
935 isupper((unsigned char)queue)))
1050 writefile(cwd, timer, queue);
1055 queue = toupper((unsigned char)queue);
1057 queue = DEFAULT_BATCH_QUEUE;
1064 writefile(cwd, timer, queue);