cron does not start the need job | Unix Linux Forums | UNIX for Advanced & Expert Users

  Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

cron does not start the need job

UNIX for Advanced & Expert Users


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-12-2006
Anta Anta is offline
Registered User
 
Join Date: Dec 2004
Last Activity: 15 July 2013, 12:48 AM EDT
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
cron does not start the need job

Hi,
can you please help me with one problem?

There is some server, there are a lot of AIX applications which run on this server under different UserIDs.
These applications starts via crontab.
From time to time some application doesn't start.

What can this "not-action" be dependent on?
At that day of week there are not other applications which should start at the same time.

Thank you in advance.

Anta
Sponsored Links
    #2  
Old 06-15-2006
kduffin's Avatar
kduffin kduffin is offline Forum Advisor  
UN1X
 
Join Date: Nov 2003
Last Activity: 21 January 2014, 4:03 PM EST
Location: Belize
Posts: 484
Thanks: 0
Thanked 3 Times in 2 Posts
Are you sure that they actually aren't starting? Or are they just failing? How do you have your cron reporting configured? Are you logging all job executions?

Cheers,

Keith
Sponsored Links
    #3  
Old 06-19-2006
Anta Anta is offline
Registered User
 
Join Date: Dec 2004
Last Activity: 15 July 2013, 12:48 AM EDT
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you, Keith.

Yes, I'm sure that application didn't started.
The application includes some ksh scripts, and they all put down report and log info.
The application runs every day (started via cron), and we haven't faced such problem for 3 years. But last time there were two such cases when it didn't started. There are a lot of appls on the server which starts via cron, but these two cases were only related to the same appl.

It looks like sometimes cron does not see the exact time of this appl start.
I'm not an aix expert, and I cannot explain it.

Anta
    #4  
Old 06-19-2006
kduffin's Avatar
kduffin kduffin is offline Forum Advisor  
UN1X
 
Join Date: Nov 2003
Last Activity: 21 January 2014, 4:03 PM EST
Location: Belize
Posts: 484
Thanks: 0
Thanked 3 Times in 2 Posts
Does anything show up in /var/adm/cron/log during that period of time? Mind sharing your crontab and any non-proprietary info you can on the scripts themselves?

Cheers,

Keith
Sponsored Links
    #5  
Old 06-21-2006
phatpenguin phatpenguin is offline
Registered User
 
Join Date: Jun 2006
Last Activity: 14 August 2006, 5:14 PM EDT
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
faqs have a section on troubleshooting cron jobs

cron and crontab
Sponsored Links
    #6  
Old 07-10-2006
Anta Anta is offline
Registered User
 
Join Date: Dec 2004
Last Activity: 15 July 2013, 12:48 AM EDT
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you.

To my regret I cannot access to /var/adm and /var/spool/cron/crontabs.

Anta
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Setup a cron job and specified the start and end time clu UNIX for Dummies Questions & Answers 4 10-19-2011 09:46 PM
Cron VPN Client start/scp/stop fspalero Shell Programming and Scripting 2 03-07-2011 08:50 PM
Why service (start|stop) can not be called from cron? hansini Linux 3 11-17-2010 06:22 PM
Cron Job -- auto start process when it dies chandravadrevu Solaris 3 01-03-2009 09:31 PM
Cron job at system start up rcunn87 Shell Programming and Scripting 3 07-06-2006 03:57 AM



All times are GMT -4. The time now is 02:13 AM.