source: general/sysutils/at.xml@ 4647dd7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4647dd7 was 4647dd7, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

sysutils and some misc tags

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

  • Property mode set to 100644
File size: 8.1 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.debian.org/debian/pool/main/a/at/at_&at-version;.orig.tar.gz">
8 <!ENTITY at-download-ftp " ">
9 <!ENTITY at-md5sum "1cec945506b5ddf1d776c92c315fc581">
10 <!ENTITY at-size "272 KB">
11 <!ENTITY at-buildsize "1.6 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 &lfs84_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 -j1</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;
116make -j1</userinput></screen>
117
118 <para>This package does not come with a test suite.</para>
119
120 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
121
122<screen role="root"><userinput>make install docdir=/usr/share/doc/at-&at-version; \
123 atdocdir=/usr/share/doc/at-&at-version;</userinput></screen>
124
125 </sect2>
126
127 <sect2 role="configuration">
128 <title>Configuring at</title>
129
130 <sect3 id="at-config">
131 <title>Config Files</title>
132
133 <para> <filename>/etc/at.allow</filename> and
134 <filename>/etc/at.deny</filename> determines who can submit jobs via at
135 or batch.</para>
136
137 <indexterm zone="at at-config">
138 <primary sortas="e-etc-at.allow">/etc/at.allow</primary>
139 </indexterm>
140
141 <indexterm zone="at at-config">
142 <primary sortas="e-etc-at.deny">/etc/at.deny</primary>
143 </indexterm>
144
145 </sect3>
146
147 <sect3 id="at-init">
148 <title><phrase revision="sysv">Boot Script</phrase>
149 <phrase revision="systemd">Systemd Unit</phrase></title>
150
151 <para revision="sysv">Install the <filename>/etc/init.d/atd</filename>
152 init script from the <xref linkend="bootscripts"/> package.</para>
153
154 <para revision="systemd">
155 To start the <command>atd</command> daemon at boot,
156 enable the previously installed systemd unit by
157 running the following command as the
158 <systemitem class="username">root</systemitem> user:
159 </para>
160
161 <indexterm zone="at at-init">
162 <primary sortas="f-at">at</primary>
163 </indexterm>
164
165<screen role="root" revision="sysv"><userinput>make install-atd</userinput></screen>
166
167<screen role="root" revision="systemd"><userinput>systemctl enable atd</userinput></screen>
168
169 </sect3>
170
171 </sect2>
172
173 <sect2 role="content">
174 <title>Contents</title>
175
176 <segmentedlist>
177 <segtitle>Installed Programs</segtitle>
178 <segtitle>Installed Libraries</segtitle>
179 <segtitle>Installed Directories</segtitle>
180
181 <seglistitem>
182 <seg>
183 at, atd, atq (symlink), atrm (symlink), atrun, and batch
184 </seg>
185 <seg>
186 None
187 </seg>
188 <seg>
189 /var/spool/cron/at{jobs,spool} and
190 /usr/share/doc/at-&at-version;
191 </seg>
192 </seglistitem>
193 </segmentedlist>
194
195 <variablelist>
196 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
197 <?dbfo list-presentation="list"?>
198 <?dbhtml list-presentation="table"?>
199
200 <varlistentry id="at-prog">
201 <term><command>at</command></term>
202 <listitem>
203 <para>queues, examines or deletes jobs for later execution.</para>
204 <indexterm zone="at at-prog">
205 <primary sortas="b-at">at</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="atd">
211 <term><command>atd</command></term>
212 <listitem>
213 <para>is the daemon that runs jobs queued for later execution.</para>
214 <indexterm zone="at atd">
215 <primary sortas="b-atd">atd</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 <varlistentry id="atq">
221 <term><command>atq</command></term>
222 <listitem>
223 <para>lists the user's pending jobs, or all jobs, if superuser.</para>
224 <indexterm zone="at atq">
225 <primary sortas="b-atq">atq</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 <varlistentry id="atrm">
231 <term><command>atrm</command></term>
232 <listitem>
233 <para>deletes jobs, identified by their job number.</para>
234 <indexterm zone="at atrm">
235 <primary sortas="b-atrm">atrm</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 <varlistentry id="atrun">
241 <term><command>atrun</command></term>
242 <listitem>
243 <para>runs jobs queued for later execution.</para>
244 <indexterm zone="at atrun">
245 <primary sortas="b-atrun">atrun</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
250 <varlistentry id="batch">
251 <term><command>batch</command></term>
252 <listitem>
253 <para>is a script that executes commands when system load levels permit.
254 </para>
255 <indexterm zone="at batch">
256 <primary sortas="b-batch">batch</primary>
257 </indexterm>
258 </listitem>
259 </varlistentry>
260
261 </variablelist>
262
263 </sect2>
264
265</sect1>
Note: See TracBrowser for help on using the repository browser.