AIX

AIX

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

 View Only
  • 1.  Getting 0481-077 error in Crontab entry

    Posted Thu August 20, 2015 09:28 AM

    Originally posted by: mgarczyn


    I am trying to put the following entry into crontab to run the command at 10 am on Thursday.  When I save the file, I get the error below. 

            0 10 0 0 4 /home/padmin/backup

    contains the following error:
            0481-077 The date or time is either too large or too small.

     

    Any thoughts on what is incorrect about the statement? 

     



  • 2.  Re: Getting 0481-077 error in Crontab entry

    Posted Thu August 20, 2015 03:23 PM

    Originally posted by: DaveMarquardt


    You've specified 0 for day and month. You probably mean "any month", for which you should use an asterisk '*', i.e.

    0 10 * * 4 /home/padmin/backup

     



  • 3.  Re: Getting 0481-077 error in Crontab entry

    Posted Thu August 20, 2015 03:30 PM

    Originally posted by: mgarczyn


    Thanks.  It appears the redbook example I am using is incorrect.  First time in AIX so I wasn't sure of the syntax.

     

     



  • 4.  Re: Getting 0481-077 error in Crontab entry

    Posted Mon August 24, 2015 03:59 PM

    Originally posted by: GarlandJoseph


    Which redbook?