*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> proto (4)              
Title
Content
Arch
Section
 

Contents


 proto(4)                                                           proto(4)




 NAME    [Toc]    [Back]
      proto - prototype job file for at(1)

 SYNOPSIS    [Toc]    [Back]
      /var/adm/cron/.proto

      /var/adm/cron/.proto. queue

 DESCRIPTION    [Toc]    [Back]
      When a job is submitted to at or batch, the job is constructed as a
      POSIX shell script (see at(1)).  The job file is created in
      /var/spool/cron/atjobs as follows:

           +  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.

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

           +  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).

           +  When a job is submitted to queue queue, at uses the file
              /var/adm/cron/.proto.queue as the prototype file if it exists.
              Otherwise it uses the file /var/adm/cron/.proto.

 EXAMPLES    [Toc]    [Back]
      The following .proto file creates commands to change the current
      directory, file size limit, and umask in the job to their respective



 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003






 proto(4)                                                           proto(4)




      values as they existed when at was originally run.  These commands are
      inserted before the commands in the job:

           cd $d
           ulimit $l
           umask $m
           $<

 SEE ALSO    [Toc]    [Back]
      at(1), queuedefs(4).

 STANDARDS CONFORMANCE    [Toc]    [Back]
      proto: SVID2, SVID3


 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
proto IRIX prototype job file for at
mkproto Tru64 Constructs a prototype file system
AFclosefile IRIX close an audio file, update file header if file was opened for write access.
fdetach Tru64 Detach a STREAMS-based file descriptor from a file in the file system name space
fattach Tru64 Attach a STREAMS-based file descriptor to a file in the file system name space
migrate Tru64 Move a file or file pages to another volume in an AdvFS file domain
ffm Tru64 File-on-File Mounting File System
AFopenfile IRIX allocate an AFfilehandle structure for an audio file identified by name / by a Unix file descriptor
ff_vxfs HP-UX fast find: list file names and statistics for a VxFS file system
cmstif2jpg IRIX reformat TIFF image file as JPEG file, maintains profile tag
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service