Using Cron

From: Adrian Wilson <awilson_at_intermec.com>
Date: 29 Jul 94 14:54:31 GMT
Message-ID: <2695_at_intermec.UUCP>


> We have Oracle 6.0.37.1 on RS-6000 with AIX 3.2 as the o.s.
> Would like to do Time-Set Exports to the same file, say expdat.dmp
> I 've never used creatures like "cron" .
> Any suggestions would be most appreciated.
>
> bpanko

If I might take some of the mystery of using cron. In UNIX, typing crontab -e will enable you to put your entry into a "scheduler".

     Each  line  in  a  crontab  file  consists  of  six  fields,
     separated by spaces or tabs, as follows:

          minutes   hours     day-of-month   month     day-of-
          week    command
 
     minutes        Minutes field, which can have values  in  the
                    range 0 through 59.

     hours          Hours field, which can  have  values  in  the
                    range 0 through 23.

     day-of-month   Day of the month, in the range 1 through 31.
 
     month          Month of the year, in the range 1 through 12.
 
     day-of-week    Day of the week, in the range  0  through  6.
                    Sunday  is  day  0  in this scheme of things.
                    For backward compatibility  with  older  sys-
                    tems, Sunday may also be specified as day 7.

     command        Command to be run.  A  percent  character  in
                    this   field   (unless   escaped   by  \)  is
                    translated to a NEWLINE character.  Only  the
                    first  line (up to a % or end of line) of the
                    command field is executed by the Shell.   The
                    other lines are made available to the command
                    as standard input.


Adrian Wilson
Seattle, Washington

    //      //  //    //  //////  ///////   //////    ///////   ////////
   //      //  ////  //  //      //    // //     //  //        //
  //      //  // // //  //      ///////  //     //  ////////  /////////
 //      //  //  ////  //      //    // //     //        //         //
/////// // // // /////// // // ////// /////// ////////    Received on Fri Jul 29 1994 - 16:54:31 CEST

Original text of this message