[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">
|
---|
| 8 | <!ENTITY at-download-ftp "ftp://ftp.de.debian.org/debian/pool/main/a/at/at_&at-version;.orig.tar.gz">
|
---|
[d9cd94a] | 9 | <!ENTITY at-md5sum "d41cfd79033b6e49a8838add59a42ac6">
|
---|
| 10 | <!ENTITY at-size "124 KB">
|
---|
| 11 | <!ENTITY at-buildsize "1.8 MB">
|
---|
[eedba153] | 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 |
|
---|
[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 |
|
---|
[d3789ec7] | 36 | &lfs74_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">
|
---|
[d3789ec7] | 64 | An MTA such as <xref linkend="postfix"/>,
|
---|
| 65 | <xref linkend="sendmail"/>, or
|
---|
[4ad93b6] | 66 | <xref linkend="exim"/>
|
---|
| 67 | </para>
|
---|
| 68 |
|
---|
[eedba153] | 69 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 70 | <para role="optional">
|
---|
| 71 | <xref linkend="linux-pam"/>
|
---|
| 72 | </para>
|
---|
| 73 |
|
---|
| 74 | <para condition="html" role="usernotes">User Notes:
|
---|
| 75 | <ulink url="&blfs-wiki;/at"/></para>
|
---|
| 76 |
|
---|
| 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 role="installation">
|
---|
| 80 | <title>Installation of at</title>
|
---|
| 81 |
|
---|
| 82 | <para>Before building <application>at</application>, as the
|
---|
| 83 | <systemitem class="username">root</systemitem> user you should create
|
---|
| 84 | the group and user <systemitem class="username">atd</systemitem> which
|
---|
[6d2cc23] | 85 | will run the <command>atd</command> daemon. Also ensure the working
|
---|
| 86 | directory for the daemon exists:</para>
|
---|
[eedba153] | 87 |
|
---|
[6d2cc23] | 88 | <screen role="root"><userinput>groupadd -g 17 atd &&
|
---|
| 89 | useradd -d /dev/null -c "atd daemon" -g atd -s /bin/false -u 17 atd &&
|
---|
| 90 | mkdir -p /var/spool/cron</userinput></screen>
|
---|
[eedba153] | 91 |
|
---|
| 92 | <para>Install <application>at</application> with the following
|
---|
| 93 | commands:</para>
|
---|
| 94 |
|
---|
[6d2cc23] | 95 | <screen><userinput>./configure --with-daemon_username=atd \
|
---|
| 96 | --with-daemon_groupname=atd &&
|
---|
[eedba153] | 97 | make</userinput></screen>
|
---|
| 98 |
|
---|
| 99 | <para>This package does not come with a test suite.</para>
|
---|
| 100 |
|
---|
| 101 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 102 |
|
---|
| 103 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 104 |
|
---|
| 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2 role="configuration">
|
---|
| 108 | <title>Configuring at</title>
|
---|
| 109 |
|
---|
| 110 | <sect3 id="at-config">
|
---|
| 111 | <title>Config Files</title>
|
---|
| 112 |
|
---|
| 113 | <para> <filename>/etc/at.allow</filename> and
|
---|
| 114 | <filename>/etc/at.deny</filename> determines who can submit jobs via at
|
---|
| 115 | or batch.</para>
|
---|
| 116 |
|
---|
| 117 | <indexterm zone="at at-config">
|
---|
| 118 | <primary sortas="e-etc-at.allow">/etc/at.allow</primary>
|
---|
| 119 | </indexterm>
|
---|
| 120 |
|
---|
| 121 | <indexterm zone="at at-config">
|
---|
| 122 | <primary sortas="e-etc-at.deny">/etc/at.deny</primary>
|
---|
| 123 | </indexterm>
|
---|
| 124 |
|
---|
| 125 | </sect3>
|
---|
| 126 |
|
---|
| 127 | <sect3 id="at-init">
|
---|
| 128 | <title>Boot Script</title>
|
---|
| 129 |
|
---|
| 130 | <para>Install the <filename>/etc/init.d/atd</filename> init script from
|
---|
| 131 | the <xref linkend="bootscripts"/> package.</para>
|
---|
| 132 |
|
---|
| 133 | <indexterm zone="at at-init">
|
---|
| 134 | <primary sortas="f-at">at</primary>
|
---|
| 135 | </indexterm>
|
---|
| 136 |
|
---|
| 137 | <screen role="root"><userinput>make install-atd</userinput></screen>
|
---|
| 138 |
|
---|
| 139 | </sect3>
|
---|
| 140 |
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
| 145 |
|
---|
| 146 | <segmentedlist>
|
---|
| 147 | <segtitle>Installed Programs</segtitle>
|
---|
| 148 | <segtitle>Installed Libraries</segtitle>
|
---|
| 149 | <segtitle>Installed Directories</segtitle>
|
---|
| 150 |
|
---|
| 151 | <seglistitem>
|
---|
| 152 | <seg>at, atd, atrun, and batch</seg>
|
---|
| 153 | <seg>None</seg>
|
---|
| 154 | <seg>/var/spool/{atjobs,atspool}</seg>
|
---|
| 155 | </seglistitem>
|
---|
| 156 | </segmentedlist>
|
---|
| 157 |
|
---|
| 158 | <variablelist>
|
---|
| 159 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 160 | <?dbfo list-presentation="list"?>
|
---|
| 161 | <?dbhtml list-presentation="table"?>
|
---|
| 162 |
|
---|
| 163 | <varlistentry id="at-prog">
|
---|
| 164 | <term><command>at</command></term>
|
---|
| 165 | <listitem>
|
---|
| 166 | <para>queues, examines or deletes jobs for later execution.</para>
|
---|
| 167 | <indexterm zone="at at-prog">
|
---|
| 168 | <primary sortas="b-at">at</primary>
|
---|
| 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 |
|
---|
| 173 | <varlistentry id="atd">
|
---|
| 174 | <term><command>atd</command></term>
|
---|
| 175 | <listitem>
|
---|
| 176 | <para>is the daemon that runs jobs queued for later execution.</para>
|
---|
| 177 | <indexterm zone="at atd">
|
---|
| 178 | <primary sortas="b-atd">atd</primary>
|
---|
| 179 | </indexterm>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 |
|
---|
| 183 | <varlistentry id="atrun">
|
---|
| 184 | <term><command>atrun</command></term>
|
---|
| 185 | <listitem>
|
---|
| 186 | <para>runs jobs queued for later execution.</para>
|
---|
| 187 | <indexterm zone="at atrun">
|
---|
| 188 | <primary sortas="b-atrun">atrun</primary>
|
---|
| 189 | </indexterm>
|
---|
| 190 | </listitem>
|
---|
| 191 | </varlistentry>
|
---|
| 192 |
|
---|
| 193 | <varlistentry id="batch">
|
---|
| 194 | <term><command>batch</command></term>
|
---|
| 195 | <listitem>
|
---|
| 196 | <para>is a script that executes commands when system load levels permit.
|
---|
| 197 | </para>
|
---|
| 198 | <indexterm zone="at batch">
|
---|
| 199 | <primary sortas="b-batch">batch</primary>
|
---|
| 200 | </indexterm>
|
---|
| 201 | </listitem>
|
---|
| 202 | </varlistentry>
|
---|
| 203 |
|
---|
| 204 | </variablelist>
|
---|
| 205 |
|
---|
| 206 | </sect2>
|
---|
| 207 |
|
---|
| 208 | </sect1>
|
---|