Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   at.1p    ( 1 )

выполнять команды позже (execute commands at a later time)

Примеры (Examples)

1. This sequence can be used at a terminal:

at -m 0730 tomorrow sort < file >outfile EOT

2. This sequence, which demonstrates redirecting standard error to a pipe, is useful in a command procedure (the sequence of output redirection specifications is significant):

at now + 1 hour <<! diff file1 file2 2>&1 >outfile | mailx mygroup !

3. To have a job reschedule itself, at can be invoked from within the at-job. For example, this daily processing script named my.daily runs every day (although crontab is a more appropriate vehicle for such work):

# my.daily runs every day daily processing at now tomorrow < my.daily

4. The spacing of the three portions of the POSIX locale timespec is quite flexible as long as there are no ambiguities. Examples of various times and operand presentation include:

at 0815am Jan 24 at 8 :15amjan24 at now "+ 1day" at 5 pm FRIday at '17 utc+ 30minutes'