At jobs - created date and time

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers At jobs - created date and time
# 1  
Old 08-05-2015
At jobs - created date and time


I'm running atq for a user and its showing 2 'at' jobs in the queue to start at a later time.

> atq

Is there any way i can find out the creation date/time of these jobs?

and ideally what job created them and what script(s) they are going to run?

All i can see is the job number and the job start time from the atq command. Cant see anything in the man pages.


Last edited by finn; 08-05-2015 at 09:43 AM.. Reason: comment re man pages
# 2  
Old 08-05-2015
As you mentioned atq can show you defined jobs (tasks). The for each defined job name you can use "at -c" to "cat" what the job is going to attempt to do. I don't think there is a way to get the time of insertion of a job.
# 3  
Old 08-05-2015
If you look at the man page for at on your system, it will probably give you the name of the directory containing the queued at jobs (or include a SEE ALSO entry for another man page that give you that information). If you look in that directory, the name of the file may include the time when the job is to be run and the timestamp on the file will probably be the time when the at jobs were created or last changed. But, it won't give you any indication what created them.
This User Gave Thanks to Don Cragun For This Post:
# 4  
Old 08-06-2015
Unlike cron jobs, at jobs store the complete environment of the process that created them. You can typically figure the owner of the process by examining the environmental variables included in the the job file.
These 2 Users Gave Thanks to fpmurphy For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Cron jobs not running on time

on linux redhat, ubuntu systems, what reason would there be for a cron job not running at exactly the time it was scheduled to run, everytime? meaning, if i put something in cron to run every 120 seconds (2 minutes), why is it that some times, i find that cron would sometimes run the job a few... (1 Reply)
Discussion started by: SkySmart
1 Replies

2. UNIX for Dummies Questions & Answers

Find the count of files by last created date based on the given date range

My unix version is IBM AIX Version 6.1 I tried google my requirement and found the below answer, find . -newermt 2012-06-15 08:13" ! -newermt 2012-06-15 18:20" But newer command is not working in AIX version 6.1 unix I have given my requirement below: Input: atr files: ... (1 Reply)
Discussion started by: yuvaa27
1 Replies

3. Shell Programming and Scripting

Display files created on particular date & time

Hi , I have BASH system & i am trying to display the files created on a particular date and time, and after displaying those files I also want to delete all those files.Can anyone of you help me out for this............. Thanx Original post contents restored... Please do not erase the question... (3 Replies)
Discussion started by: rakeshtomar82
3 Replies

4. Shell Programming and Scripting

waiting on jobs in bash, allowing limited parallel jobs at one time, and then for all to finish

Hello, I am running GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu). I have a specific question pertaining to waiting on jobs run in sub-shells, based on the max number of parallel processes I want to allow, and then wait... (1 Reply)
Discussion started by: srao
1 Replies

5. UNIX for Dummies Questions & Answers

how to know what time one user was created?

I am using RHEL. I wan to know the creation time of one user? which command? (4 Replies)
Discussion started by: cqlouis
4 Replies

6. Shell Programming and Scripting

Copying files created after a specified date/time

I need to write a script that copies files from one directory to another that were created after "today 6:30". This script will be NOT be ran at the same time each day. any help is appreciated. (2 Replies)
Discussion started by: jm6601
2 Replies

7. Shell Programming and Scripting

List files created between specific date and time

Hi I need to write a script to list files in a directory created within specific date and time for eg list files created between Apr 25 2007 11:00 to Apr 26 2007 18:00. and then i have to count them Any suggestions pls ? (3 Replies)
Discussion started by: jazjit
3 Replies

8. UNIX for Advanced & Expert Users

File created time

I have lot .log files in a directory.I need to take the one got created today.Is there any way to get the time of creation of a file? (6 Replies)
Discussion started by: yakyaj
6 Replies

9. Shell Programming and Scripting

Determine date and time the file was created through shell scripts

Can I determine when the particular file was created, in korn-shell. Can please someone help me. If possible please mail the solution to me. my mail id: (1 Reply)
Discussion started by: BharatSurana
1 Replies
Login or Register to Ask a Question

Featured Tech Videos