source: general/sysutils/at.xml@ 22f9c48

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules 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 22f9c48 was 5c9e998, checked in by DJ Lucas <dj@…>, 8 years ago

Merge D-Bus changes frome systemd branch, some temporary fixes for bootscript related render errors.

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

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