Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

atrun(8) [opendarwin man page]

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
Man Page

11 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Please help to fingure out what wrong with my tomcat restarting bash script

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)
Discussion started by: quyennd
1 Replies

2. UNIX for Advanced & Expert Users

whitespace problem

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)
Discussion started by: RubinPat
10 Replies

3. Shell Programming and Scripting

Problem executing script through at

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)
Discussion started by: viktor4124
2 Replies

4. UNIX for Advanced & Expert Users

UNIX Queue command execution

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)
Discussion started by: wede23
5 Replies

5. UNIX for Advanced & Expert Users

sudo using at failing.

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)
Discussion started by: mph
9 Replies

6. UNIX for Advanced & Expert Users

code to monitor a process

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)
Discussion started by: madfox
2 Replies

7. Homework & Coursework Questions

Noob minix problem

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)
Discussion started by: amanmamgain
1 Replies

8. Shell Programming and Scripting

Total of columns

Input file cll_0014_spp,84,uranus,disk33,45 cll_0014_spp,84,pluto,disk3,10 cll_0014_spp,450,pluto,disk4,1 cll_0014_spp,453,pluto,disk46,19 cll_0014_spp,84,neptune,disk34,60 cll_0014_spp,450,neptune,disk4,1 cll_0014_spp,68,neptune,disk54,59 cll_1234_spp,66,satrun,1000... (6 Replies)
Discussion started by: greycells
6 Replies

9. Shell Programming and Scripting

awk help

With the following sample extracted from a xml file: <JOB_U client="1" name="job1" system="sys"> <XHEADER state="1"> <Title>test1</Title> <Created>&lt;unknown/unknown&gt;</Created> <Modified>none</Modified> <LastUsed/> <ArchiveKey1/> <ArchiveKey2/> <ExtRepDef>0</ExtRepDef>... (1 Reply)
Discussion started by: cabrao
1 Replies

10. OS X (Apple)

Using at utility on 10.8.2 not working

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)
Discussion started by: sakurashinken
7 Replies

11. BSD

NetBSD Accidently deleted crontab for root

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)
Discussion started by: batence
0 Replies