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