Cron job fails

Discussion in 'Server Operation' started by kushan, Apr 7, 2010.

  1. kushan

    kushan New Member

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Do you use full paths in your cron job/script?
     
  3. kushan

    kushan New Member

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

Share This Page