From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1c7be0cba28c1a92,start X-Google-Attributes: gidfee84,public From: jjo@triton.com (Jay Olson) Subject: where does 'at' store times Date: 1996/04/13 Message-ID: <4kn6b1$m38@atlas.tncnet.com>#1/1 X-Deja-AN: 147237338 distribution: world organization: Triton Software Group Ltd. reply-to: jjo@triton.com (Jay Olson) newsgroups: comp.unix.osf.osf1 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. I have tried a setuid C program which runs the Tk/Tcl program (i.e. a stripped down version of tkAppInit.c which only runs a specific tcl program). When the tcl program execs 'atq' or 'at -l', only jobs for the user running the program are shown, so it looks like 'at' seems to know that it is not being run by root. I am using OSF/1 version 3.2c, Tcl version 7.4 and Tk version 4.0. Thanks in advance for any help. - Jay Olson Triton Software Group Ltd.