On command not executed

I am trying to run a atbash command , but it does not work for me. I can add the task to the queue, but it does not start when the time increases. What am I doing wrong?

hpek@melda:~$ cat /usr/lib/cron/at.deny 
hpek@melda:~$ atq
hpek@melda:~$ at now +2 minutes
echo TTTEEEST
job 12 at Sun May  6 02:09:00 2012
hpek@melda:~$ date
Sun May  6 02:10:24 CEST 2012
hpek@melda:~$ atq
12  Sun May  6 02:09:00 2012
hpek@melda:~$ 
+3
source share
4 answers

Take a look at /var/at/jobsand see if your assignments are listed there. (This may be another OS based directory).

The default is atnot used on most systems. In order for the atjobs to actually run, the atrun command must be executed .

This command is executed either through launchd or through cron , depending on the system.

, at, atrun .., , at , . ant allow, ant deny, . , deny.

, , at (- ).

+3

. , at, , .

Try:

at now +2 minutes
echo TTTEEEST > new_file_test

, .

+2

:

   An at - or batch - command invoked from a su(1) shell will
   retain the current userid.  The user will be mailed standard
   error and standard output from his commands, if any.  Mail
   will be sent using the command /usr/sbin/sendmail.  If at is
   executed from a su(1) shell, the owner of the login shell
   will receive the mail.
0

First, make sure that daemon is running with the following command:

# ps -ef | grep atd
root 8231 1 0 18:10 ? 00:00:00 /usr/sbin/atd

If you do not see atd, run it with this command:

# /etc/init.d/atd start
0
source

All Articles