AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  Problem with crontab

    Posted Mon November 30, 2009 08:51 PM

    Originally posted by: oracledbaind


    Hi,

    OS version AIX 5.3.

    I have scheduled a job with -

    01 * * * * /oracle/prd/bin/statspack_report.sh >> /oracle/prd/bin/stats.log

    As per convention this must run every hour at one minute. i.e. 1.1,2.2,3.3 min.

    But on one box job runs fine one minute every hour while on others it runs at 31 mins. i.e. 1.31, 2.31, 3.31.

    Any idea why this is so?


  • 2.  Re: Problem with crontab

    Posted Mon November 30, 2009 11:30 PM

    Originally posted by: SystemAdmin


    As per the entry the job would run at 1:01, 2:01, 3:01, etc

    Could you check out on the boxes where it is not running as expected, if there is a typo.....31 instead of 01?

    Or change the entry like this, if it helps:

    1 * * * * /oracle/prd/bin/statspack_report.sh >> /oracle/prd/bin/stats.log

    r/
    R


  • 3.  Re: Problem with crontab

    Posted Thu December 10, 2009 10:02 PM

    Originally posted by: SystemAdmin


    Does the box run on a different timezone than its users? We have one system where the system is running one timezone and the users can be on several possible timezones. From memory, crontabs uses the timezone of the root user.