The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Notify Me when job fail using cron ejaggers UNIX for Advanced & Expert Users 3 05-21-2008 07:03 AM
fail to telnet localhost 106 satimis Linux 22 12-16-2007 06:54 PM
FTP fail during file transfer ramana Shell Programming and Scripting 0 12-27-2006 06:20 AM
Fail tail algorithm foureightyeast High Level Programming 6 11-23-2005 09:24 AM
Mail fail adela UNIX for Dummies Questions & Answers 3 06-29-2001 06:05 PM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-10-2002
Registered User
 

Join Date: Mar 2002
Posts: 3
Question cron fail to run

Hi,
Does anyone know why the cron job fail to run automatically ?
We have the problem with some Solaris 2.5.1 Machine !
The cron seemd to fail to submit the jobs defined at the defined time !!
Why ?
Sometime it runs OK,but sometime it fail .
We are very sure the problem is due to cron no ok,because other machines with the same cronjobs
run well !!
Forum Sponsor
  #2 (permalink)  
Old 03-10-2002
Registered User
 

Join Date: Feb 2002
Location: www.freebsdforums.org
Posts: 67
Hard to help you without at least seeing your file.

(The amount of help you will get from the unix community will directly depend on how much information you provide in your questions).

Are you specifying the command as a just a command or the fully qualified pathname ? If not, I would suggest that you specify the full command path including /usr/.... whatever.

Also try running it on the command line yourself manually when you think it did not run.

What makes you think that it is running or not running sometimes ?
__________________
FreeBSD: The best free Unix on this planet IMHO!!

FreeBSD Forums
www.freebsdforums.org
  #3 (permalink)  
Old 03-10-2002
Registered User
 

Join Date: Mar 2002
Posts: 3
Quote:
Originally posted by #1freebsddude
Hard to help you without at least seeing your file.

(The amount of help you will get from the unix community will directly depend on how much information you provide in your questions).

Are you specifying the command as a just a command or the fully qualified pathname ? If not, I would suggest that you specify the full command path including /usr/.... whatever.

Also try running it on the command line yourself manually when you think it did not run.

What makes you think that it is running or not running sometimes ?
Hi,
Thanks for quick reply !!
" What makes you think that it is running or not running sometimes ? "
The full crontable fail sometimes,but usually it runs OK !!
  #4 (permalink)  
Old 03-10-2002
Cameron's Avatar
Registered User
 

Join Date: Nov 2001
Location: Brisbane, Australia
Posts: 486
Might you post your crontab listing (crontab -l) to allow us a better view?
  #5 (permalink)  
Old 03-10-2002
Registered User
 

Join Date: Mar 2002
Posts: 3
Quote:
Originally posted by Cameron
Might you post your crontab listing (crontab -l) to allow us a better view?
HI,

hp93k_3(asx)[home/asx]% crontab -l
#Kerwin Update
3,18,33,48 * * * * /home/asx/bin/auto_send_hp93k.sh
  #6 (permalink)  
Old 03-10-2002
Cameron's Avatar
Registered User
 

Join Date: Nov 2001
Location: Brisbane, Australia
Posts: 486
Try the following to get more detail...

3,18,33,48 * * * * /home/asx/bin/auto_send_hp93k.sh 2> /home/asx/autosenderror.log

This will output any (if any) error messages to the log file.

Last edited by Cameron; 03-10-2002 at 10:02 PM.
  #7 (permalink)  
Old 03-10-2002
Registered User
 

Join Date: Feb 2002
Location: www.freebsdforums.org
Posts: 67
Some possibilities:

1. Running out of disk space
2. Running out of max processes
3. Someone tweaking the file or removing jobs, etc. changing stuff without your knowledge
4. Full moon

I think log dump suggestion by Cameron should give you better clues!
__________________
FreeBSD: The best free Unix on this planet IMHO!!

FreeBSD Forums
www.freebsdforums.org
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:20 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0