42
23
I am going to schedule a job by using at command. Here I tried the following command:
$ at now + 1 minute
echo 'Test at command'
<EOD>
I saw the job is scheduled by using at -l. However, I saw no echo out.
I guess that I may need to add user to at.allow file. I cannot find at.allow in my Mac (Snow Leopard). Not sure what I need to do to test this at command?
For Mac OS X Lion it's
/var/at
– Stefan Schmidt – 2011-10-12T19:44:07.447I tried to read info from man at. It mentioned that "If the file _PERM_PATH/at.allow exists, only usernames mentioned in it are allowed to use at... If ... at.allow does not exists, _PERM_PATH/at.deny is checked,.." I am not sure what _PERM_PATH is. – None – 2009-09-19T04:41:10.983
In the case of Apple OSX Leopard, PERM_PATH for "at" is /usr/lib/cron. – Richard Hoskins – 2009-09-19T15:28:21.547