ATRUN(8) Linux Programmer's Manual ATRUN(8)NAME
atrun - run jobs queued for later execution
SYNOPSIS
atrun [-l load_avg] [-d]
DESCRIPTION
atrun runs jobs queued by at(1). It is a shell script containing invoking /usr/sbin/atd with the -s option, and is provided for backward
compatibility with older installations.
SEE ALSO at(1), atd(8).
AUTHOR
At was mostly written by Thomas Koenig, ig25@rz.uni-karlsruhe.de.
local Nov 1996 ATRUN(8)
Check Out this Related Man Page
ATRUN(8) BSD System Manager's Manual ATRUN(8)NAME
atrun -- run jobs queued for later execution
SYNOPSIS
atrun [-l load_avg] [-d]
DESCRIPTION
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).
WARNINGS
For atrun to work, you have to start up a cron(8) daemon.
FILES
/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
Hi, I am a nbee to Unix, I have used following script to check my tomcat is running or not and restart if it down. but actually it restart my tomcat each time running even my tomcat still running fine:
Script that can run a check and perform an action if the check fails
... (1 Reply)
I have a single string as below:
Rat run after Cat
i.e. there is a single whitespace after Cat.
This causes my file to fail.
Is there a way I can remove any whitespace at the end of any string.
I tried sed 's/ *//g', but it removes all white space and the above string becomes... (10 Replies)
Hey fellows,
i've got a probkem while executing a command through a scheduled at-job;
Somehow my script starts looping, when triggered throug at;
It doesnt do so if started manually.
Any ideas?
#!/bin/sh
# atrun uid=33 gid=33
# mail www-data 0
umask 22
cd /var/django/webripper/ripper... (2 Replies)
Hello,
i was wondering if you could assist me in the following situation:
i am trying to queue a group execution commands (same command but different parameters) submited from an openVMS system to a Unix system (HP UX). The commands should run in sequence; the next starts after prev finish... (5 Replies)
Hi,
I'm hopin' ya can give me an idea or two here.
I'm writing a file transfer tracking program. Users login via FTP or https. These users have NO shell access. I'll get to that in a minute. When they upload or download a file, a script is invoked to log the transfer in a database,... (9 Replies)
hi,
I need to change the code such that it becomes configurable to send email or sms or both.
At the moment the code works like sending both email and sms for any alert now want to change it to send email/sms as per my demand.
1. Like for a particular alert I only want email
2. If the alert... (2 Replies)
please help!!
The question that has been asked is to use /tmp directory in minix to get to know the root password or get the root privilege .
onr thing that I have done is
:
% cp /bin/sh /tmp
% chmod 4777 /tmp/sh
now what next must i do to get the root privelege?
or maybe some other method
... (1 Reply)
With the following sample extracted from a xml file:
<JOB_U client="1" name="job1" system="sys">
<XHEADER state="1">
<Title>test1</Title>
<Created><unknown/unknown></Created>
<Modified>none</Modified>
<LastUsed/>
<ArchiveKey1/>
<ArchiveKey2/>
<ExtRepDef>0</ExtRepDef>... (1 Reply)
I am a beginner, trying to get basic background utilities like at and cron to work on mac os x.
I am typing the following at the prompt:
at now + 1 minute
open -a textedit
^D
nothing happens at the appointed time.
What to change? (7 Replies)
Someone can told me where from get the default crontab settings of root for NetBSD 6.0 please :)
### SOLVED ###
The default crontab rules are in etc.tgz /var/cron/tabs/root
# $NetBSD: crontab,v 1.15 2002/11/27 15:09:17 perry Exp $
#
# /var/cron/tabs/root - root's crontab for NetBSD
#... (0 Replies)