Translate job number from atq to commands that will run
James Long
list at museum.rain.com
Sat Dec 16 19:56:33 PST 2006
> Date: Sat, 16 Dec 2006 16:54:58 -0600
> From: JAMES T RIENDEAU <jtriende at wisc.edu>
> Subject: Translate job number from atq to commands that will run
> To: freebsd-questions at freebsd.org
> Message-ID: <FEAAF0F6-92E0-4C83-80F4-65C8F0979D76 at wisc.edu>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> Does anybody know how I could translate the job # into the commands
> that will run from the output of the atq command? For example, here
> is my current atq:
>
> Date Owner Queue Job #
> Mon Dec 18 09:00:00 CST 2006 root c 34
> Wed Dec 20 09:00:00 CST 2006 root c 35
> Fri Dec 22 09:00:00 CST 2006 root c 36
> Wed Dec 27 09:00:00 CST 2006 root c 37
> Sat Dec 30 09:00:00 CST 2006 root c 38
> Wed Jan 3 09:00:00 CST 2007 root c 39
> Sat Jan 6 09:00:00 CST 2007 root c 40
> Mon Dec 18 09:00:00 CST 2006 root c 41
> Wed Dec 20 09:00:00 CST 2006 root c 42
> Fri Dec 22 09:00:00 CST 2006 root c 43
> Wed Dec 27 09:00:00 CST 2006 root c 44
> Sat Dec 30 09:00:00 CST 2006 root c 45
> Wed Jan 3 09:00:00 CST 2007 root c 46
> Sat Jan 6 09:00:00 CST 2007 root c 47
>
> I checked the /var/at/spool and /var/at/jobs, but it isn't obvious
> which job is scheduled to run when.
>
> Thank you,
>
> James Riendeau
> MMI Computer Support Technician
> 1300 University Ave
> Rm. 436, Dept. of MedMicro
> Madison, WI 53706
>
> Phone: (608) 262-3351
> Email: jtriende at wisc.edu
man at
Note the -c flag.
Jim
More information about the freebsd-questions
mailing list