AT(1) General Commands Manual AT(1)NAME
at, atrun - execute commands at a later time
at time [month day] [file]
at 2315 Jan 31 myfile
# Myfile executed Jan 31 at 11:15 pm
at 0900 # Job input read from stdin
at 0711 4 29 # Read from stdin, exec on April 29
At prepares a file to be executed later at the specified time by creating a special entry in /usr/spool/at. The program atrun should be
started periodically, for example, every minute by cron. Atrun checks to see if any files in /usr/spool/at should now be run, and if so,
it runs them and then puts them in /usr/spool/at/past. The name of the file created in /usr/spool/at by at is YY.DDD.HHMM.UU (where YY,
DDD, HH, and MM give the time to execute and UU is a unique number). Note that when the command runs, it will not be able to use stdin or
stdout unless specifically redirected. In the first example above, it might be necessary to put >/dev/log on some lines in the shell
script myfile. The same holds for the commands typed directly to at.
SEE ALSO cron(8).
Check Out this Related Man Page
ATRUN(8) BSD System Manager's Manual ATRUN(8)NAME
atrun -- run jobs queued for later execution
atrun [-l load_avg] [-d]
Atrun runs jobs queued by at(1).
Root's crontab(5) file /etc/crontab has to contain the line
*/5 * * * * root /usr/libexec/atrun
so that atrun gets invoked every five minutes.
At every invocation, atrun will start all the jobs in the lowercase queues whose start time has elapsed. In addition, if the load average
over the last minute was less than the specified limit then a maximum of one batch job (denoted by the uppercase queues) is started.
Before starting a job, atrun will check the status of its owner's account with pam(3) and refuse to run the job if the account is unavail-
able, e.g., locked out or expired.
OPTIONS -l load_avg
Specify a limiting load factor, over which batch jobs should not be run, instead of the default of 1.5 * number of active CPUs.
-d Debug; print error messages to standard error instead of using syslog(3).
For atrun to work, you have to start up a cron(8) daemon.
/etc/pam.d/atrun pam.conf(5) configuration file for atrun
/var/at/jobs Directory containing job files
/var/at/spool Directory containing output spool files
SEE ALSO at(1), crontab(1), pam(3), syslog(3), crontab(5), pam.conf(5), cron(8)BUGS
The functionality of atrun should be merged into cron(8).
BSD October 30, 2012 BSD
Is there a way to get NON unique lines from 2 or more concatenated files?
Basically I have several files which are very similar with the exception of few lines and I want to find out which lines are different in each file. Very simple example is
5file2... (122 Replies)
What is your favorite Linux distro?
and possibly why?
Personally, I have Fedora 3 on my computer. I have used Ubuntu and Slackware, too. But I think I liked Ubuntu more, maybe because of its speed and easy installation of packages. (192 Replies)
I was looking through the topics and I wasn't sure if this was the best place to post this question:
I was wondering, out of curiosity, which software everyone was using to code their scripts in. I do mostly sh/ksh and my favorite has always been EditPlus because it is small, fast, yet powerful.... (409 Replies)