#1  
Old 7th April 2010, 16:06
kushan kushan is offline
Junior Member
 
Join Date: Apr 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cron job fails

Hi Experts,

We have an issue and need some expert advise. In one of the linux servers, we are running some cron jobs. This cron job loads flat files in to a table in a oracle database using a shell script. This was working fine. Recently we did an upgrade to kernel version and after that it loads the data half way and stops the cron job. (e.g. if there are 100 files, it loads about 13 files and stops). No error anywhere. Assuming that error is due to the kernerl issue we reversed the patch also. But still the problem is still there.

When you execute the file upload shell script manually then it works fine.

This is the OS details of the server

OS name: Red Hat Enterprise Linux ES release 4 (Nahant Update 6)

Kernel version: kernel-smp-2.6.9-89.0.23.EL

Current Kernel version: Linux CCOLDWHZDBOP01 2.6.9-89.0.23.ELsmp #1 SMP Fri Mar 5 17:56:21 EST 2010 i686 i686 i386 GNU/Linux

Thanks a lot in advance.

Best Regards
Kushan
Reply With Quote
Sponsored Links
  #2  
Old 8th April 2010, 14:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Do you use full paths in your cron job/script?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 9th April 2010, 02:52
kushan kushan is offline
Junior Member
 
Join Date: Apr 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Yes this script and the cron was working fine without any problems.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
getmail.sh Cron job fails? KZeeSoft Server Operation 2 29th March 2010 15:27
Cron job question autogun General 2 22nd December 2009 11:54
webalizer cron job not running bolero Installation/Configuration 2 2nd June 2009 13:09
How to create a Cron job for ISPconfig AngelDrago HOWTO-Related Questions 1 13th January 2009 14:30
Cron job failure report torusturtle General 5 18th July 2008 14:13


All times are GMT +2. The time now is 20:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.