source: general/sysutils/at.xml@ 36aff45

systemd-13485
Last change on this file since 36aff45 was 36aff45, checked in by DJ Lucas <dj@…>, 8 years ago

Remove -systemd naming for chapter 12

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16852 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY at-download-http "http://ftp.de.debian.org/debian/pool/main/a/at/at_&at-version;.orig.tar.gz">
8 <!ENTITY at-download-ftp "ftp://ftp.de.debian.org/debian/pool/main/a/at/at_&at-version;.orig.tar.gz">
9 <!ENTITY at-md5sum "d05da75d9b75d93917ffb16ab48b1e19">
10 <!ENTITY at-size "124 KB">
11 <!ENTITY at-buildsize "1.8 MB">
12 <!ENTITY at-time "less than 0.1 SBU">
13]>
14
15<sect1 id="at" xreflabel="Fcron-&at-version;">
16 <?dbhtml filename="at.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>at-&at-version;</title>
24
25 <indexterm zone="at">
26 <primary sortas="a-at">at</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to at</title>
31
32 <para>The <application>at</application> package provide delayed job execution
33 and batch processing. It is required for Linux Standards Base (LSB)
34 conformance.</para>
35
36 &lfs77_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&at-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&at-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &at-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &at-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &at-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &at-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">at Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
63 <para role="required">
64 An <xref linkend="server-mail"/>
65 </para>
66
67 <bridgehead renderas="sect4">Optional</bridgehead>
68 <para role="optional">
69 <xref linkend="linux-pam"/>
70 </para>
71
72 <para condition="html" role="usernotes">User Notes:
73 <ulink url="&blfs-wiki;/at"/></para>
74
75 </sect2>
76
77 <sect2 role="installation">
78 <title>Installation of at</title>
79
80 <note>
81 <para>
82 This package does not support parallel build.
83 </para>
84 </note>
85
86 <para>Before building <application>at</application>, as the
87 <systemitem class="username">root</systemitem> user you should create
88 the group and user <systemitem class="username">atd</systemitem> which
89 will run the <command>atd</command> daemon. Also ensure the working
90 directory for the daemon exists:</para>
91
92<screen role="root"><userinput>groupadd -g 17 atd &amp;&amp;
93useradd -d /dev/null -c "atd daemon" -g atd -s /bin/false -u 17 atd &amp;&amp;
94mkdir -p /var/spool/cron</userinput></screen>
95
96 <para>
97 Fix <filename>Makefile.in</filename> so that the documentation directory
98 is installed in the specified docdir:
99 </para>
100
101<screen><userinput>sed -i '/docdir/s/=.*/= @docdir@/' Makefile.in</userinput></screen>
102
103 <para>Install <application>at</application> with the following
104 commands:</para>
105
106 <screen><userinput>./configure --with-daemon_username=atd \
107 --with-daemon_groupname=atd \
108 SENDMAIL=/usr/sbin/sendmail \
109 --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
110make -j1</userinput></screen>
111
112 <para>This package does not come with a test suite.</para>
113
114 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
115
116<screen role="root"><userinput>make install \
117 docdir=/usr/share/doc/at-&at-version; \
118 atdocdir=/usr/share/doc/at-&at-version;</userinput></screen>
119
120 </sect2>
121
122 <sect2 role="configuration">
123 <title>Configuring at</title>
124
125 <sect3 id="at-config">
126 <title>Config Files</title>
127
128 <para> <filename>/etc/at.allow</filename> and
129 <filename>/etc/at.deny</filename> determines who can submit jobs via at
130 or batch.</para>
131
132 <indexterm zone="at at-config">
133 <primary sortas="e-etc-at.allow">/etc/at.allow</primary>
134 </indexterm>
135
136 <indexterm zone="at at-config">
137 <primary sortas="e-etc-at.deny">/etc/at.deny</primary>
138 </indexterm>
139
140 </sect3>
141
142 <sect3 id="at-init">
143 <title>Systemd Units</title>
144
145 <para>
146 To start the <command>atd</command> daemon at boot,
147 enable the previously installed systemd unit by
148 running the following command as the
149 <systemitem class="username">root</systemitem> user:
150 </para>
151
152 <indexterm zone="at at-init">
153 <primary sortas="f-at">at</primary>
154 </indexterm>
155
156<screen role="root"><userinput>systemctl enable atd</userinput></screen>
157
158 </sect3>
159
160 </sect2>
161
162 <sect2 role="content">
163 <title>Contents</title>
164
165 <segmentedlist>
166 <segtitle>Installed Programs</segtitle>
167 <segtitle>Installed Libraries</segtitle>
168 <segtitle>Installed Directories</segtitle>
169
170 <seglistitem>
171 <seg>at, atd, atq (symlink), atrm (symlink), atrun, and batch</seg>
172 <seg>None</seg>
173 <seg>
174 /var/spool/{atjobs,atspool} and
175 /usr/share/doc/at-&at-version;
176 </seg>
177 </seglistitem>
178 </segmentedlist>
179
180 <variablelist>
181 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
182 <?dbfo list-presentation="list"?>
183 <?dbhtml list-presentation="table"?>
184
185 <varlistentry id="at-prog">
186 <term><command>at</command></term>
187 <listitem>
188 <para>queues, examines or deletes jobs for later execution.</para>
189 <indexterm zone="at at-prog">
190 <primary sortas="b-at">at</primary>
191 </indexterm>
192 </listitem>
193 </varlistentry>
194
195 <varlistentry id="atd">
196 <term><command>atd</command></term>
197 <listitem>
198 <para>is the daemon that runs jobs queued for later execution.</para>
199 <indexterm zone="at atd">
200 <primary sortas="b-atd">atd</primary>
201 </indexterm>
202 </listitem>
203 </varlistentry>
204
205 <varlistentry id="atq">
206 <term><command>atq</command></term>
207 <listitem>
208 <para>lists the user's pending jobs, or all jobs, if superuser.</para>
209 <indexterm zone="at atq">
210 <primary sortas="b-atq">atq</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="atrm">
216 <term><command>atrm</command></term>
217 <listitem>
218 <para>deletes jobs, identified by their job number.</para>
219 <indexterm zone="at atrm">
220 <primary sortas="b-atrm">atrm</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 <varlistentry id="atrun">
226 <term><command>atrun</command></term>
227 <listitem>
228 <para>runs jobs queued for later execution.</para>
229 <indexterm zone="at atrun">
230 <primary sortas="b-atrun">atrun</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 <varlistentry id="batch">
236 <term><command>batch</command></term>
237 <listitem>
238 <para>is a script that executes commands when system load levels permit.
239 </para>
240 <indexterm zone="at batch">
241 <primary sortas="b-batch">batch</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 </variablelist>
247
248 </sect2>
249
250</sect1>
Note: See TracBrowser for help on using the repository browser.