source: general/sysutils/at-systemd.xml@ 1d8b7d4

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 1d8b7d4 was 1d8b7d4, checked in by Krejzi <krejzi@…>, 10 years ago

Merge at update.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13907 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 "f0f96db22e3a174b53ce4beeeb848839">
10 <!ENTITY at-size "124 KB">
11 <!ENTITY at-buildsize "1.5 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 &lfs75_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 --docdir=/usr/share/doc/at-&at-version; \
107 --with-daemon_username=atd \
108 --with-daemon_groupname=atd \
109 SENDMAIL=/usr/sbin/sendmail \
110 --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
111make -j1</userinput></screen>
112
113 <para>This package does not come with a test suite.</para>
114
115 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
116
117<screen role="root"><userinput>make install</userinput></screen>
118
119 </sect2>
120
121 <sect2 role="configuration">
122 <title>Configuring at</title>
123
124 <sect3 id="at-config">
125 <title>Config Files</title>
126
127 <para> <filename>/etc/at.allow</filename> and
128 <filename>/etc/at.deny</filename> determines who can submit jobs via at
129 or batch.</para>
130
131 <indexterm zone="at at-config">
132 <primary sortas="e-etc-at.allow">/etc/at.allow</primary>
133 </indexterm>
134
135 <indexterm zone="at at-config">
136 <primary sortas="e-etc-at.deny">/etc/at.deny</primary>
137 </indexterm>
138
139 </sect3>
140
141 <sect3 id="at-init">
142 <title>Systemd Units</title>
143
144 <para>
145 To start the <command>atd</command> daemon at boot,
146 enable the previously installed systemd unit by
147 running the following command as the
148 <systemitem class="username">root</systemitem> user:
149 </para>
150
151 <indexterm zone="at at-init">
152 <primary sortas="f-at">at</primary>
153 </indexterm>
154
155<screen role="root"><userinput>systemctl enable atd</userinput></screen>
156
157 </sect3>
158
159 </sect2>
160
161 <sect2 role="content">
162 <title>Contents</title>
163
164 <segmentedlist>
165 <segtitle>Installed Programs</segtitle>
166 <segtitle>Installed Libraries</segtitle>
167 <segtitle>Installed Directories</segtitle>
168
169 <seglistitem>
170 <seg>at, atd, atq (symlink), atrm (symlink), atrun, and batch</seg>
171 <seg>None</seg>
172 <seg>
173 /var/spool/{atjobs,atspool} and
174 /usr/share/doc/at-&at-version;
175 </seg>
176 </seglistitem>
177 </segmentedlist>
178
179 <variablelist>
180 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
181 <?dbfo list-presentation="list"?>
182 <?dbhtml list-presentation="table"?>
183
184 <varlistentry id="at-prog">
185 <term><command>at</command></term>
186 <listitem>
187 <para>queues, examines or deletes jobs for later execution.</para>
188 <indexterm zone="at at-prog">
189 <primary sortas="b-at">at</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="atd">
195 <term><command>atd</command></term>
196 <listitem>
197 <para>is the daemon that runs jobs queued for later execution.</para>
198 <indexterm zone="at atd">
199 <primary sortas="b-atd">atd</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="atq">
205 <term><command>atq</command></term>
206 <listitem>
207 <para>lists the user's pending jobs, or all jobs, if superuser.</para>
208 <indexterm zone="at atq">
209 <primary sortas="b-atq">atq</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="atrm">
215 <term><command>atrm</command></term>
216 <listitem>
217 <para>deletes jobs, identified by their job number.</para>
218 <indexterm zone="at atrm">
219 <primary sortas="b-atrm">atrm</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="atrun">
225 <term><command>atrun</command></term>
226 <listitem>
227 <para>runs jobs queued for later execution.</para>
228 <indexterm zone="at atrun">
229 <primary sortas="b-atrun">atrun</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 <varlistentry id="batch">
235 <term><command>batch</command></term>
236 <listitem>
237 <para>is a script that executes commands when system load levels permit.
238 </para>
239 <indexterm zone="at batch">
240 <primary sortas="b-batch">batch</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 </variablelist>
246
247 </sect2>
248
249</sect1>
Note: See TracBrowser for help on using the repository browser.