man(1) Manual page archive


     AT(1)                                                       AT(1)

     NAME
          at - execute commands at a later time

     SYNOPSIS
          at [ -r ] time [ day ] [ file ]

          at -l

     DESCRIPTION
          At squirrels away a copy of the named file (standard input
          default) to be used as input to sh(1) at a specified later
          time.  A cd command to the current directory is inserted at
          the beginning, followed by assignments to all environment
          variables.  When the script is run, it uses the userid and
          groupid of the creator of the copy.

          The time is 1 to 4 digits, with an optional following `A',
          `P', `N' or `M' for AM, PM, noon or midnight.  One and two
          digit numbers are taken to be hours, three and four digits
          to be hours and minutes.  If no letters follow the digits, a
          24 hour clock time is understood.

          The optional day is either a month name followed by a day
          number, or a day of the week; if the word `week' follows,
          invocation is moved seven days further off.  Names of months
          and days may be recognizably truncated.  A year number,
          spelled out in full, may follow the month.

          The options are

          -r   Remove the specified activity.

          -l   List all activities scheduled for this user.

          At programs are executed by periodic execution of from
          cron(8). The granularity of at depends upon how often atrun
          is executed.

          The standard output and standard error files are lost unless
          redirected.

     EXAMPLES
          at 0800 dec 24
          echo ho ho ho | mail claus

          at -r `at -l`
               Remove a scheduled activity.

     FILES
          the future.