[eedba153] | 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">
|
---|
[fa7ae3f3] | 8 | <!ENTITY at-download-ftp "ftp://ftp.de.debian.org/debian/pool/main/a/at/at_&at-version;.orig.tar.gz">
|
---|
[b0b87ad6] | 9 | <!ENTITY at-md5sum "d05da75d9b75d93917ffb16ab48b1e19">
|
---|
[fa7ae3f3] | 10 | <!ENTITY at-size "124 KB">
|
---|
[b0b87ad6] | 11 | <!ENTITY at-buildsize "1.8 MB">
|
---|
[fa7ae3f3] | 12 | <!ENTITY at-time "less than 0.1 SBU">
|
---|
[eedba153] | 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 |
|
---|
[0d7900a] | 32 | <para>The <application>at</application> package provide delayed job execution
|
---|
[eedba153] | 33 | and batch processing. It is required for Linux Standards Base (LSB)
|
---|
| 34 | conformance.</para>
|
---|
| 35 |
|
---|
[76b8abe] | 36 | &lfs77_checked;
|
---|
[eedba153] | 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 |
|
---|
[4ad93b6] | 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 63 | <para role="required">
|
---|
[af8e3ea3] | 64 | An <xref linkend="server-mail"/>
|
---|
[4ad93b6] | 65 | </para>
|
---|
| 66 |
|
---|
[eedba153] | 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 |
|
---|
[885068f0] | 80 | <note>
|
---|
| 81 | <para>
|
---|
| 82 | This package does not support parallel build.
|
---|
| 83 | </para>
|
---|
| 84 | </note>
|
---|
| 85 |
|
---|
[eedba153] | 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
|
---|
[6d2cc23] | 89 | will run the <command>atd</command> daemon. Also ensure the working
|
---|
| 90 | directory for the daemon exists:</para>
|
---|
[eedba153] | 91 |
|
---|
[6d2cc23] | 92 | <screen role="root"><userinput>groupadd -g 17 atd &&
|
---|
| 93 | useradd -d /dev/null -c "atd daemon" -g atd -s /bin/false -u 17 atd &&
|
---|
| 94 | mkdir -p /var/spool/cron</userinput></screen>
|
---|
[eedba153] | 95 |
|
---|
[885068f0] | 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 |
|
---|
[eedba153] | 103 | <para>Install <application>at</application> with the following
|
---|
| 104 | commands:</para>
|
---|
| 105 |
|
---|
[80d6d7d5] | 106 | <screen><userinput>./configure --with-daemon_username=atd \
|
---|
[df9fb20] | 107 | --with-daemon_groupname=atd \
|
---|
[b0b87ad6] | 108 | SENDMAIL=/usr/sbin/sendmail &&
|
---|
[885068f0] | 109 | make -j1</userinput></screen>
|
---|
[eedba153] | 110 |
|
---|
| 111 | <para>This package does not come with a test suite.</para>
|
---|
| 112 |
|
---|
| 113 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 114 |
|
---|
[80d6d7d5] | 115 | <screen role="root"><userinput>make install \
|
---|
| 116 | docdir=/usr/share/doc/at-&at-version; \
|
---|
| 117 | atdocdir=/usr/share/doc/at-&at-version; </userinput></screen>
|
---|
[eedba153] | 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>Boot Script</title>
|
---|
| 143 |
|
---|
| 144 | <para>Install the <filename>/etc/init.d/atd</filename> init script from
|
---|
| 145 | the <xref linkend="bootscripts"/> package.</para>
|
---|
| 146 |
|
---|
| 147 | <indexterm zone="at at-init">
|
---|
| 148 | <primary sortas="f-at">at</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 |
|
---|
| 151 | <screen role="root"><userinput>make install-atd</userinput></screen>
|
---|
| 152 |
|
---|
| 153 | </sect3>
|
---|
| 154 |
|
---|
| 155 | </sect2>
|
---|
| 156 |
|
---|
| 157 | <sect2 role="content">
|
---|
| 158 | <title>Contents</title>
|
---|
| 159 |
|
---|
| 160 | <segmentedlist>
|
---|
| 161 | <segtitle>Installed Programs</segtitle>
|
---|
| 162 | <segtitle>Installed Libraries</segtitle>
|
---|
| 163 | <segtitle>Installed Directories</segtitle>
|
---|
| 164 |
|
---|
| 165 | <seglistitem>
|
---|
[42d6d3b] | 166 | <seg>at, atd, atq (symlink), atrm (symlink), atrun, and batch</seg>
|
---|
[eedba153] | 167 | <seg>None</seg>
|
---|
[42d6d3b] | 168 | <seg>
|
---|
| 169 | /var/spool/{atjobs,atspool} and
|
---|
| 170 | /usr/share/doc/at-&at-version;
|
---|
| 171 | </seg>
|
---|
[eedba153] | 172 | </seglistitem>
|
---|
| 173 | </segmentedlist>
|
---|
| 174 |
|
---|
| 175 | <variablelist>
|
---|
| 176 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 177 | <?dbfo list-presentation="list"?>
|
---|
| 178 | <?dbhtml list-presentation="table"?>
|
---|
| 179 |
|
---|
| 180 | <varlistentry id="at-prog">
|
---|
| 181 | <term><command>at</command></term>
|
---|
| 182 | <listitem>
|
---|
| 183 | <para>queues, examines or deletes jobs for later execution.</para>
|
---|
| 184 | <indexterm zone="at at-prog">
|
---|
| 185 | <primary sortas="b-at">at</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | <varlistentry id="atd">
|
---|
| 191 | <term><command>atd</command></term>
|
---|
| 192 | <listitem>
|
---|
| 193 | <para>is the daemon that runs jobs queued for later execution.</para>
|
---|
| 194 | <indexterm zone="at atd">
|
---|
| 195 | <primary sortas="b-atd">atd</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
[42d6d3b] | 200 | <varlistentry id="atq">
|
---|
| 201 | <term><command>atq</command></term>
|
---|
| 202 | <listitem>
|
---|
| 203 | <para>lists the user's pending jobs, or all jobs, if superuser.</para>
|
---|
| 204 | <indexterm zone="at atq">
|
---|
| 205 | <primary sortas="b-atq">atq</primary>
|
---|
| 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
| 210 | <varlistentry id="atrm">
|
---|
| 211 | <term><command>atrm</command></term>
|
---|
| 212 | <listitem>
|
---|
| 213 | <para>deletes jobs, identified by their job number.</para>
|
---|
| 214 | <indexterm zone="at atrm">
|
---|
| 215 | <primary sortas="b-atrm">atrm</primary>
|
---|
| 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
| 219 |
|
---|
[eedba153] | 220 | <varlistentry id="atrun">
|
---|
| 221 | <term><command>atrun</command></term>
|
---|
| 222 | <listitem>
|
---|
| 223 | <para>runs jobs queued for later execution.</para>
|
---|
| 224 | <indexterm zone="at atrun">
|
---|
| 225 | <primary sortas="b-atrun">atrun</primary>
|
---|
| 226 | </indexterm>
|
---|
| 227 | </listitem>
|
---|
| 228 | </varlistentry>
|
---|
| 229 |
|
---|
| 230 | <varlistentry id="batch">
|
---|
| 231 | <term><command>batch</command></term>
|
---|
| 232 | <listitem>
|
---|
| 233 | <para>is a script that executes commands when system load levels permit.
|
---|
| 234 | </para>
|
---|
| 235 | <indexterm zone="at batch">
|
---|
| 236 | <primary sortas="b-batch">batch</primary>
|
---|
| 237 | </indexterm>
|
---|
| 238 | </listitem>
|
---|
| 239 | </varlistentry>
|
---|
| 240 |
|
---|
| 241 | </variablelist>
|
---|
| 242 |
|
---|
| 243 | </sect2>
|
---|
| 244 |
|
---|
| 245 | </sect1>
|
---|