at jobs not running


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers at jobs not running
# 1  
Old 03-17-2010
at jobs not running

im doing
Code:
at now <return>
touch ~/Desktop/file.txt
<ctrl d>

and file is never created though it says job 7 at Wed Mar 17 15:15:55 2010
why?
# 2  
Old 03-17-2010
When you use at or contab, you cannot expect your environment to be there when the command runs. Specifically the PATH. Try /usr/bin/touch
# 3  
Old 03-18-2010
If the job failed the error messages will be in mail for the user submitting the "at" job.
# 4  
Old 03-18-2010
Code:
STLM011:~ localadmin$ atq
2	Tue Mar 16 12:00:00 2010
3	Tue Mar 16 11:40:00 2010
4	Tue Mar 16 11:41:00 2010
6	Wed Mar 17 15:15:00 2010
7	Wed Mar 17 15:15:00 2010
8	Thu Mar 18 11:04:00 2010

the jobs all show up in atq but never ran.

---------- Post updated at 11:07 AM ---------- Previous update was at 11:05 AM ----------

No errors in mail

---------- Post updated at 11:08 AM ---------- Previous update was at 11:07 AM ----------

using full paths did not work
# 5  
Old 03-18-2010
Please post what Operating System you have and what version.

First reaction: Is cron running ? Has the system been set to start cron?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Psg amount of running jobs?

Hey, I have to run a lot of jobs (300) and would like to start at one time only 20 jobs and then after thos jobs are finished the next 20. But how to "ask" for whether the jobs are finished? actually, my starting scripts looks like that: for i in jal_* do cd ./$i/ ... (1 Reply)
Discussion started by: ergy1983
1 Replies

2. Shell Programming and Scripting

Jobs running in a server

Hi, I need to know the jobs running in a server for all users in linux, crontab -l gives for particular user, how ever I need for all users. I have sudo user access. Thanks (4 Replies)
Discussion started by: nag_sathi
4 Replies

3. Shell Programming and Scripting

List of Running Jobs In Last 4 Hours

Hi Experts, Please help me in this. I am trying this code on AIX 5.3. I need list of jobs that executed in last 4 hours. I have a schedule on this script - cron executes it and sends mail to me for every 2 hours. I have a Job time and have around 100 jobs those execute daily. What all i need... (2 Replies)
Discussion started by: rajubollas
2 Replies

4. Shell Programming and Scripting

Running jobs in parallel

I need to process 50 sqlplus scripts which are listed in a text file. I need to develop a shell script that'll read this file and run these sqlplus scripts. At any point of time, the number of sqlplus scripts running shouldn't exceed 6. If any of the sqlplus scripts completes successfully then... (17 Replies)
Discussion started by: gctex
17 Replies

5. Solaris

cron jobs not running from sudo

Hi, I am logging into sun solaris unix box as asood user.Then sudo su_appssu and scheduled my cron jobs.The user appssu is there In the /etc/cron.d/cron.allow . I do not understand why the jobs are not kicking by cron. Do I need to enter directly as appssu ? Regards Megh (10 Replies)
Discussion started by: megh
10 Replies

6. OS X (Apple)

cron jobs running, but not...

I have a cron job set up to run a script on my Leopard Server every night. The job is set up as root, and when I run the script manually, it runs fine. The problem is that it is not doing anything when it runs at night. In the cron log, it says it ran, but did not output the results to the file it... (3 Replies)
Discussion started by: yodomino6
3 Replies

7. UNIX for Advanced & Expert Users

Seriously, cron jobs not running.

Before I get a million and one suggestions on all the things that could be wrong with my scripts - let me assure everyone that this is not the issue. i have a RH EL ES4 server that stopped running all cron jobs except hourly, daily, weekly. This has affected all users including root. No... (7 Replies)
Discussion started by: bill_k_Lopez
7 Replies

8. UNIX for Dummies Questions & Answers

How to tell which cron jobs are still running?

I have some cron jobs that are taking a might long time. That is because they are screen scrapers and I inserted an extra long pause (10 minutes between screens) to be extra polite and minimize network traffic. I was going to have them run once a day but now I'm thinking once a week. How do I... (2 Replies)
Discussion started by: siegfried
2 Replies

9. UNIX for Dummies Questions & Answers

running cron jobs

I would like to add a job using cron. I have following questions - cron jobs are launched using what login-id e.g. is the script launced using my login-id - In which directory would the cron jobs be launched ? - where do the environment variables required in the script being lauched come... (3 Replies)
Discussion started by: sharanbr
3 Replies

10. Shell Programming and Scripting

running cron jobs

Hi, I'm new to cron and I would like to know if this cron entry looks right. Every monday to friday, at 9:15 AM execute the script called done_att.sh Every monday to friday, at 3:15 PM execute the script called start_att.sh 15 09 * * /u54/jobs/done_att.sh 45 15 * *... (1 Reply)
Discussion started by: ted
1 Replies
Login or Register to Ask a Question