source: general/sysutils/at.xml@ 3d6df725

10.0 10.1 11.0 11.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus nosym perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 3d6df725 was 3d6df725, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to at-3.1.20

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17543 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.2 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 "e7bd7b785b2cbb17e133d6bdc0fb099e">
10 <!ENTITY at-size "128 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 &lfs79_checked;&gcc6_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 <para>Before building <application>at</application>, as the
81 <systemitem class="username">root</systemitem> user you should create
82 the group and user <systemitem class="username">atd</systemitem> which
83 will run the <command>atd</command> daemon. Also ensure the working
84 directory for the daemon exists:</para>
85
86<screen role="root"><userinput>groupadd -g 17 atd &amp;&amp;
87useradd -d /dev/null -c "atd daemon" -g atd -s /bin/false -u 17 atd &amp;&amp;
88mkdir -p /var/spool/cron</userinput></screen>
89
90 <para>
91 Fix <filename>Makefile.in</filename> so that the documentation directory
92 is installed in the specified docdir:
93 </para>
94
95<screen><userinput>sed -i '/docdir/s/=.*/= @docdir@/' Makefile.in</userinput></screen>
96
97 <para>
98 Regenerate the build files to be consistent with this package version:
99 </para>
100
101<screen><userinput>autoreconf</userinput></screen>
102
103 <para>Install <application>at</application> with the following
104 commands:</para>
105
106 <screen revision="sysv"><userinput>./configure --with-daemon_username=atd \
107 --with-daemon_groupname=atd \
108 SENDMAIL=/usr/sbin/sendmail &amp;&amp;
109
110make</userinput></screen>
111
112 <screen revision="systemd"><userinput>./configure --with-daemon_username=atd \
113 --with-daemon_groupname=atd \
114 SENDMAIL=/usr/sbin/sendmail \
115 --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
116
117make -j1</userinput></screen>
118
119 <para>This package does not come with a test suite.</para>
120
121 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
122
123<screen role="root"><userinput>make install \
124 docdir=/usr/share/doc/at-&at-version; \
125 atdocdir=/usr/share/doc/at-&at-version; </userinput></screen>
126
127 </sect2>
128
129 <sect2 role="configuration">
130 <title>Configuring at</title>
131
132 <sect3 id="at-config">
133 <title>Config Files</title>
134
135 <para> <filename>/etc/at.allow</filename> and
136 <filename>/etc/at.deny</filename> determines who can submit jobs via at
137 or batch.</para>
138
139 <indexterm zone="at at-config">
140 <primary sortas="e-etc-at.allow">/etc/at.allow</primary>
141 </indexterm>
142
143 <indexterm zone="at at-config">
144 <primary sortas="e-etc-at.deny">/etc/at.deny</primary>
145 </indexterm>
146
147 </sect3>
148
149 <sect3 id="at-init">
150 <title><phrase revision="sysv">Boot Script</phrase>
151 <phrase revision="systemd">Systemd Unit</phrase></title>
152
153 <para revision="sysv">Install the <filename>/etc/init.d/atd</filename>
154 init script from the <xref linkend="bootscripts"/> package.</para>
155
156 <para revision="systemd">
157 To start the <command>atd</command> daemon at boot,
158 enable the previously installed systemd unit by
159 running the following command as the
160 <systemitem class="username">root</systemitem> user:
161 </para>
162
163 <indexterm zone="at at-init">
164 <primary sortas="f-at">at</primary>
165 </indexterm>
166
167<screen role="root" revision="sysv"><userinput>make install-atd</userinput></screen>
168
169<screen role="root" revision="systemd"><userinput>systemctl enable atd</userinput></screen>
170
171 </sect3>
172
173 </sect2>
174
175 <sect2 role="content">
176 <title>Contents</title>
177
178 <segmentedlist>
179 <segtitle>Installed Programs</segtitle>
180 <segtitle>Installed Libraries</segtitle>
181 <segtitle>Installed Directories</segtitle>
182
183 <seglistitem>
184 <seg>
185 at, atd, atq (symlink), atrm (symlink), atrun, and batch
186 </seg>
187 <seg>
188 None
189 </seg>
190 <seg>
191 /var/spool/cron/at{jobs,spool} and
192 /usr/share/doc/at-&at-version;
193 </seg>
194 </seglistitem>
195 </segmentedlist>
196
197 <variablelist>
198 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
199 <?dbfo list-presentation="list"?>
200 <?dbhtml list-presentation="table"?>
201
202 <varlistentry id="at-prog">
203 <term><command>at</command></term>
204 <listitem>
205 <para>queues, examines or deletes jobs for later execution.</para>
206 <indexterm zone="at at-prog">
207 <primary sortas="b-at">at</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="atd">
213 <term><command>atd</command></term>
214 <listitem>
215 <para>is the daemon that runs jobs queued for later execution.</para>
216 <indexterm zone="at atd">
217 <primary sortas="b-atd">atd</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="atq">
223 <term><command>atq</command></term>
224 <listitem>
225 <para>lists the user's pending jobs, or all jobs, if superuser.</para>
226 <indexterm zone="at atq">
227 <primary sortas="b-atq">atq</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="atrm">
233 <term><command>atrm</command></term>
234 <listitem>
235 <para>deletes jobs, identified by their job number.</para>
236 <indexterm zone="at atrm">
237 <primary sortas="b-atrm">atrm</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 <varlistentry id="atrun">
243 <term><command>atrun</command></term>
244 <listitem>
245 <para>runs jobs queued for later execution.</para>
246 <indexterm zone="at atrun">
247 <primary sortas="b-atrun">atrun</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 <varlistentry id="batch">
253 <term><command>batch</command></term>
254 <listitem>
255 <para>is a script that executes commands when system load levels permit.
256 </para>
257 <indexterm zone="at batch">
258 <primary sortas="b-batch">batch</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 </variablelist>
264
265 </sect2>
266
267</sect1>
Note: See TracBrowser for help on using the repository browser.