From: pedwards@valhalla.cs.wright.edu (Phil Edwards)
Subject: Re: where does 'at' store times
Date: 1996/04/15 [thread overview]
Message-ID: <4ku99d$ktk@valhalla.cs.wright.edu> (raw)
In-Reply-To: 4kn6b1$m38@atlas.tncnet.com
[cc'd to poster]
With <4kn6b1$m38@atlas.tncnet.com>,
it seems Jay Olson (jjo@triton.com) sez:
+ I have a (Tk/Tcl) application which needs to find the times
+ when 'at' jobs of other users are to be run. I can find the
+ jobs by looking in /var/spool/cron/atjobs, but I don't know
+ when they are going to run.
The filenames themselves define the job characteristics. Check out
the man page for at(1):
#
# Job numbers are specified as follows:
#
# user.xxxxxxxxx.y
#
# The user argument identifies the user who scheduled the job. xxxxxxxxx is
# a 9-digit number (encoded time for the job). y indicates the job type or
# queue name as follows:
#
# Argument Job Type
#
# a at job
#
# b batch job
#
# e ksh job
#
# f csh job
#
If you look inside the directory, you'll find that the job files
are of that type. Personally, I wouldn't be surprised if the
"encoded time" wasn't simply the result of a call to time(2), or
maybe some ctime conversion with the seconds field stripped.
Luck++;
Phil
--
#include<std/disclaimer.h> The gods do not protect fools. Fools
finger pedwards@gamma.cs.wright.edu are protected by more capable fools.
email pedwards@valhalla.cs.wright.edu -Larry Niven
prev parent reply other threads:[~1996-04-15 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-04-13 4:00 where does 'at' store times Jay Olson
1996-04-15 4:00 ` Phil Edwards [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox