at-3.1.15

Introduction to at

The at package provide delayed job execution and batch processing. It is required for Linux Standards Base (LSB) conformance.

This package is known to build and work properly using an LFS-7.6 systemd platform.

Package Information

at Dependencies

Required

An MTA

Optional

Linux-PAM-1.1.8

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/at

Installation of at

[Note]

Note

This package does not support parallel build.

Before building at, as the root user you should create the group and user atd which will run the atd daemon. Also ensure the working directory for the daemon exists:

groupadd -g 17 atd                                                  &&
useradd -d /dev/null -c "atd daemon" -g atd -s /bin/false -u 17 atd &&
mkdir -p /var/spool/cron

Fix Makefile.in so that the documentation directory is installed in the specified docdir:

sed -i '/docdir/s/=.*/= @docdir@/' Makefile.in

Install at with the following commands:

./configure --docdir=/usr/share/doc/at-3.1.15 \
            --with-daemon_username=atd        \
            --with-daemon_groupname=atd       \
            SENDMAIL=/usr/sbin/sendmail       \
            --with-systemdsystemunitdir=/lib/systemd/system &&
make -j1

This package does not come with a test suite.

Now, as the root user:

make install

Configuring at

Config Files

/etc/at.allow and /etc/at.deny determines who can submit jobs via at or batch.

Systemd Units

To start the atd daemon at boot, enable the previously installed systemd unit by running the following command as the root user:

systemctl enable atd

Contents

Installed Programs: at, atd, atq (symlink), atrm (symlink), atrun, and batch
Installed Libraries: None
Installed Directories: /var/spool/{atjobs,atspool} and /usr/share/doc/at-3.1.15

Short Descriptions

at

queues, examines or deletes jobs for later execution.

atd

is the daemon that runs jobs queued for later execution.

atq

lists the user's pending jobs, or all jobs, if superuser.

atrm

deletes jobs, identified by their job number.

atrun

runs jobs queued for later execution.

batch

is a script that executes commands when system load levels permit.

Last updated on 2014-08-25 12:54:44 -0700