HPUX proto[4]






 proto(4)                                                           proto(4)





 NAME
      proto - prototype job file for at(1)

 SYNOPSIS
      /usr/lib/cron/.proto
      /usr/lib/cron/.proto. queue

 DESCRIPTION
      When a job is submitted to at or batch, the job is constructed as a
      Bourne shell script (see at(1) and batch(1)).  The job file is created
      in /usr/spool/cron/atjobs as follows:

           o  at creates a header describing the job as an at job or a batch
              job.  at jobs submitted to all queues other than queue a are
              listed as batch jobs.  The header is:

                   : at job          for an at job, or

                   : batch job       for a batch job.

           o  A set of Bourne shell commands is added to make the
              environment (see environ(5)) for the at job the same as the
              current environment.

           o  at then copies text from the prototype file to the job file,
              except for special variables that are replaced by other text:

                   $d    Replaced by the current working directory.

                   $l    Replaced by the current file size limit (see
                         ulimit(2)).

                   $m    Replaced by the current umask (see umask(2)).

                   $t    Replaced by the time at which the job should be
                         run, expressed as seconds since January 1, 1970,
                         00:00 Coordinated Universal Time, preceded by a
                         colon.

                   $<    Replaced by text read by at from the standard input
                         (that is, the commands provided to at to be run in
                         the job).

           o  When a job is submitted to queue queue, at uses the file
              /usr/lib/cron/.proto.queue as the prototype file if it exists.
              Otherwise it uses the file /usr/lib/cron/.proto.

 EXAMPLES
      The following .proto file creates commands to change the current
      directory, file size limit, and umask in the job to their respective
      values as they existed when at was originally run.  These commands are



 Hewlett-Packard Company            - 1 -     HP-UX Release 9.0: August 1992






 proto(4)                                                           proto(4)





      inserted before the commands in the job:

           cd $d
           ulimit $l
           umask $m
           $<

 SEE ALSO
      at(1), queuedefs(4).

 STANDARDS CONFORMANCE
      proto: SVID2










































 Hewlett-Packard Company            - 2 -     HP-UX Release 9.0: August 1992