<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://cblfs.nicewhileitlasted.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=84.0.39.209</id>
	<title>CBLFS - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://cblfs.nicewhileitlasted.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=84.0.39.209"/>
	<link rel="alternate" type="text/html" href="https://cblfs.nicewhileitlasted.com/Special:Contributions/84.0.39.209"/>
	<updated>2026-05-21T17:42:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>?title=Fcron&amp;diff=10625</id>
		<title>Fcron</title>
		<link rel="alternate" type="text/html" href="?title=Fcron&amp;diff=10625"/>
		<updated>2007-07-06T12:09:28Z</updated>

		<summary type="html">&lt;p&gt;84.0.39.209: /* 64Bit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| style=&amp;quot;text-align: left; background-color: AliceBlue;&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Download Source:&lt;br /&gt;
| ftp://ftp.seul.org/pub/fcron/fcron-{{Fcron Version}}.src.tar.gz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
{{Package-Introduction|Fcron is a periodical command scheduler which aims at replacing [[Vixie Cron]], so it implements most of its functionalities. However, unlike [[Vixie Cron]], Fcron does not assume that your system is running either all the time or regularly. You can, for instance, tell Fcron to execute tasks every x hours y minutes of system up time or to do a job only once in a specified interval of time. Fcron has also many more features: you can also set a nice value to a job, run it depending on the system load average, and much more.|http://fcron.free.fr/}}&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
=== Optional ===&lt;br /&gt;
* [[Linux-PAM]]&lt;br /&gt;
* [[SELinux]]&lt;br /&gt;
&lt;br /&gt;
== Creating the fcron User/Group ==&lt;br /&gt;
&lt;br /&gt;
We need to create the fcron group and the fcron user to run &#039;&#039;&#039;fcron&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 groupadd -g 24 fcron &amp;amp;&amp;amp;&lt;br /&gt;
 useradd -c &amp;quot;Fcron User&amp;quot; -d /dev/null -u 24 -g fcron -s /bin/false fcron&lt;br /&gt;
&lt;br /&gt;
== Note to DESTDIR Fans ==&lt;br /&gt;
&lt;br /&gt;
This package uses DESTDIR and for the most part installs itself beautifully. It has one problem however. The problem is [[Linux-PAM]]-related, so if you haven&#039;t installed [[Linux-PAM]], then you can ignore the rest of this section.&lt;br /&gt;
&lt;br /&gt;
The script that determines whether you are you using the /etc/pam.conf or the /etc/pam.d scheme for [[Linux-PAM]] configuration checks whether or not /etc/pam.d exists. If it does, then it assumes that you&#039;re using the /etc/pam.d scheme. If it doesn&#039;t, then it assumes that you&#039;re using the /etc/pam.conf scheme. This works just fine unless you&#039;re using DESTDIR. The script fails to take DESTDIR into account. As such, it goes looking for &amp;lt;DESTDIR&amp;gt;/etc/pam.d and naturally doesn&#039;t find it.&lt;br /&gt;
&lt;br /&gt;
So, if you&#039;re using DESTDIR, then it will &#039;&#039;always&#039;&#039; decide that you&#039;re using the /etc/pam.conf scheme. If you &#039;&#039;are&#039;&#039; using that scheme, then everythings fine and you can ignore the rest of this section. However if you&#039;re using the /etc/pam.d scheme, then you need to run the following command prior to running &#039;&#039;&#039;make install&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 install -dv &amp;lt;DESTDIR&amp;gt;/etc/pam.d&lt;br /&gt;
&lt;br /&gt;
This rather simple fix makes it so that Fcron&#039;s script thinks that you&#039;re using the /etc/pam.d scheme - which of course is what we want. With that, DESTDIR works just as you&#039;d expect.&lt;br /&gt;
&lt;br /&gt;
== Additional Configuration Options ==&lt;br /&gt;
{|&lt;br /&gt;
|&amp;lt;i&amp;gt;--with-editor=PATH:&amp;lt;/i&amp;gt; Set the default editor for fcron. Without this flag, Fcron assumes &#039;&#039;&#039;vi&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;i&amp;gt;--with-run-non-privileged=no:&amp;lt;/i&amp;gt; This is used if you want to run &#039;&#039;&#039;fcron&#039;&#039;&#039; as an unprivleged user. You need to look at [http://fcron.free.fr/doc/en/faq.html  Fcron&#039;s FAQ] if you want to do this.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;i&amp;gt;--with-dsssl-dir=/usr/share/sgml/docbook/dsssl-stylesheets-{{DocBook DSSSL StyleSheets-Version}}:&amp;lt;/i&amp;gt; Pass this to build the DocBook documentation.  This path assumes that you followed the CBLFS instructions for installing the [[DocBook DSSSL StyleSheets]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Extra ==&lt;br /&gt;
&lt;br /&gt;
If you want to Fcron to log its messages, then you need to add it to /etc/syslog.conf.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sed -i &#039;s@# End /etc/syslog.conf@@&#039; /etc/syslog.conf &amp;amp;&amp;amp;&lt;br /&gt;
cat &amp;gt;&amp;gt; /etc/syslog.conf &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
# log Fcron:&lt;br /&gt;
cron.*                                          -/var/log/cron.log&lt;br /&gt;
&lt;br /&gt;
# End /etc/syslog.conf&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The large spacing makes it so that it lines up with what&#039;s already in /etc/syslog.conf. The sed makes it so that the comment that delineates the end of the file still delineates the end of the file after our addition.&lt;br /&gt;
&lt;br /&gt;
In order to bring our changes into effect, we need to reload the &#039;&#039;&#039;sysklogd&#039;&#039;&#039; daemon:&lt;br /&gt;
&lt;br /&gt;
 /etc/rc.d/init.d/sysklogd reload&lt;br /&gt;
&lt;br /&gt;
== Non-Multilib ==&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 ./configure --prefix=/usr --without-sendmail --with-boot-install=no &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== Command Explanations ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;--without-sendmail&#039;&#039;: This stops Fcron from e-mailing you the results of the &#039;&#039;&#039;fcron&#039;&#039; script.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;--with-boot-install=no&#039;&#039;: This prevents the installation of the package&#039;s bootscript.&lt;br /&gt;
&lt;br /&gt;
== Multilib ==&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;This package does not provide any libraries so only one installation is needed.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== 32Bit ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILD32}&amp;quot; ./configure --prefix=/usr --without-sendmail \&lt;br /&gt;
     --with-boot-install=no &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== N32 ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILDN32}&amp;quot; ./configure --prefix=/usr --without-sendmail \&lt;br /&gt;
     --with-boot-install=no &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== 64Bit ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILD64}&amp;quot; ./configure prefix=/usr --without-sendmail \&lt;br /&gt;
     --with-boot-install=no &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
&lt;br /&gt;
=== Config Files ===&lt;br /&gt;
&lt;br /&gt;
/etc/fcron.conf, /etc/fcron.allow, and /etc/fcron.deny&lt;br /&gt;
&lt;br /&gt;
=== Configuration Information ===&lt;br /&gt;
&lt;br /&gt;
You don&#039;t really need to do anything to configure Fcron, but &#039;&#039;&#039;fcrontab&#039;&#039;&#039; is used to write &#039;&#039;&#039;fcron&#039;&#039;&#039; scripts. Refer to the man pages for more information.&lt;br /&gt;
&lt;br /&gt;
If [[Linux-PAM]] was installed, then two PAM configuration files were installed in /etc/pam.d. However, if there is no /etc/pam.d and you are using /etc/pam.conf instead, then corresponding configuration sections were added to your pam.conf file instead.&lt;br /&gt;
&lt;br /&gt;
=== Boot Script ===&lt;br /&gt;
&lt;br /&gt;
[[blfs-bootscripts]] has a boot script for Fcron. Install it as follows:&lt;br /&gt;
&lt;br /&gt;
 make install-fcron&lt;br /&gt;
&lt;br /&gt;
= Contents =&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left;&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Installed Programs:&lt;br /&gt;
| fcron, fcrondyn, fcronsighup, fcrontab&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Installed Libraries:&lt;br /&gt;
| None&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Installed Directory:&lt;br /&gt;
| /usr/share/doc/fcron-{{Fcron Version}}, /var/spool/fcron&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Short Descriptions ===&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left;&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! fcron &lt;br /&gt;
| is a daemon to execute scheduled tasks.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! fcrondyn&lt;br /&gt;
| is a user tool intended to interact with a running fcron daemon. It can, for instance, list user&#039;s jobs loaded by fcron, run one of them, renice a running job, send a signal to a running job, etc.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! fcronsighup&lt;br /&gt;
| is the program used by &#039;&#039;&#039;fcrontab&#039;&#039;&#039; to tell &#039;&#039;&#039;fcron&#039;&#039;&#039; it should reload its configuration.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! fcrontab&lt;br /&gt;
| is the program intended to install, edit, list and remove the tables used by &#039;&#039;&#039;fcron&#039;&#039;&#039; daemon. As &#039;&#039;&#039;fcron&#039;&#039;&#039; internally uses a non-human readable format (this is needed because &#039;&#039;&#039;fcron&#039;&#039;&#039; saves more informations than the user gives, for example the time and date of next execution), the user cannot directly edit their fcrontab (the one used by &#039;&#039;&#039;fcron&#039;&#039;&#039;).&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>84.0.39.209</name></author>
	</entry>
	<entry>
		<id>?title=Fcron&amp;diff=10624</id>
		<title>Fcron</title>
		<link rel="alternate" type="text/html" href="?title=Fcron&amp;diff=10624"/>
		<updated>2007-07-06T12:09:09Z</updated>

		<summary type="html">&lt;p&gt;84.0.39.209: /* N32 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| style=&amp;quot;text-align: left; background-color: AliceBlue;&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Download Source:&lt;br /&gt;
| ftp://ftp.seul.org/pub/fcron/fcron-{{Fcron Version}}.src.tar.gz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
{{Package-Introduction|Fcron is a periodical command scheduler which aims at replacing [[Vixie Cron]], so it implements most of its functionalities. However, unlike [[Vixie Cron]], Fcron does not assume that your system is running either all the time or regularly. You can, for instance, tell Fcron to execute tasks every x hours y minutes of system up time or to do a job only once in a specified interval of time. Fcron has also many more features: you can also set a nice value to a job, run it depending on the system load average, and much more.|http://fcron.free.fr/}}&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
=== Optional ===&lt;br /&gt;
* [[Linux-PAM]]&lt;br /&gt;
* [[SELinux]]&lt;br /&gt;
&lt;br /&gt;
== Creating the fcron User/Group ==&lt;br /&gt;
&lt;br /&gt;
We need to create the fcron group and the fcron user to run &#039;&#039;&#039;fcron&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 groupadd -g 24 fcron &amp;amp;&amp;amp;&lt;br /&gt;
 useradd -c &amp;quot;Fcron User&amp;quot; -d /dev/null -u 24 -g fcron -s /bin/false fcron&lt;br /&gt;
&lt;br /&gt;
== Note to DESTDIR Fans ==&lt;br /&gt;
&lt;br /&gt;
This package uses DESTDIR and for the most part installs itself beautifully. It has one problem however. The problem is [[Linux-PAM]]-related, so if you haven&#039;t installed [[Linux-PAM]], then you can ignore the rest of this section.&lt;br /&gt;
&lt;br /&gt;
The script that determines whether you are you using the /etc/pam.conf or the /etc/pam.d scheme for [[Linux-PAM]] configuration checks whether or not /etc/pam.d exists. If it does, then it assumes that you&#039;re using the /etc/pam.d scheme. If it doesn&#039;t, then it assumes that you&#039;re using the /etc/pam.conf scheme. This works just fine unless you&#039;re using DESTDIR. The script fails to take DESTDIR into account. As such, it goes looking for &amp;lt;DESTDIR&amp;gt;/etc/pam.d and naturally doesn&#039;t find it.&lt;br /&gt;
&lt;br /&gt;
So, if you&#039;re using DESTDIR, then it will &#039;&#039;always&#039;&#039; decide that you&#039;re using the /etc/pam.conf scheme. If you &#039;&#039;are&#039;&#039; using that scheme, then everythings fine and you can ignore the rest of this section. However if you&#039;re using the /etc/pam.d scheme, then you need to run the following command prior to running &#039;&#039;&#039;make install&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 install -dv &amp;lt;DESTDIR&amp;gt;/etc/pam.d&lt;br /&gt;
&lt;br /&gt;
This rather simple fix makes it so that Fcron&#039;s script thinks that you&#039;re using the /etc/pam.d scheme - which of course is what we want. With that, DESTDIR works just as you&#039;d expect.&lt;br /&gt;
&lt;br /&gt;
== Additional Configuration Options ==&lt;br /&gt;
{|&lt;br /&gt;
|&amp;lt;i&amp;gt;--with-editor=PATH:&amp;lt;/i&amp;gt; Set the default editor for fcron. Without this flag, Fcron assumes &#039;&#039;&#039;vi&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;i&amp;gt;--with-run-non-privileged=no:&amp;lt;/i&amp;gt; This is used if you want to run &#039;&#039;&#039;fcron&#039;&#039;&#039; as an unprivleged user. You need to look at [http://fcron.free.fr/doc/en/faq.html  Fcron&#039;s FAQ] if you want to do this.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;i&amp;gt;--with-dsssl-dir=/usr/share/sgml/docbook/dsssl-stylesheets-{{DocBook DSSSL StyleSheets-Version}}:&amp;lt;/i&amp;gt; Pass this to build the DocBook documentation.  This path assumes that you followed the CBLFS instructions for installing the [[DocBook DSSSL StyleSheets]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Extra ==&lt;br /&gt;
&lt;br /&gt;
If you want to Fcron to log its messages, then you need to add it to /etc/syslog.conf.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sed -i &#039;s@# End /etc/syslog.conf@@&#039; /etc/syslog.conf &amp;amp;&amp;amp;&lt;br /&gt;
cat &amp;gt;&amp;gt; /etc/syslog.conf &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
# log Fcron:&lt;br /&gt;
cron.*                                          -/var/log/cron.log&lt;br /&gt;
&lt;br /&gt;
# End /etc/syslog.conf&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The large spacing makes it so that it lines up with what&#039;s already in /etc/syslog.conf. The sed makes it so that the comment that delineates the end of the file still delineates the end of the file after our addition.&lt;br /&gt;
&lt;br /&gt;
In order to bring our changes into effect, we need to reload the &#039;&#039;&#039;sysklogd&#039;&#039;&#039; daemon:&lt;br /&gt;
&lt;br /&gt;
 /etc/rc.d/init.d/sysklogd reload&lt;br /&gt;
&lt;br /&gt;
== Non-Multilib ==&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 ./configure --prefix=/usr --without-sendmail --with-boot-install=no &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== Command Explanations ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;--without-sendmail&#039;&#039;: This stops Fcron from e-mailing you the results of the &#039;&#039;&#039;fcron&#039;&#039; script.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;--with-boot-install=no&#039;&#039;: This prevents the installation of the package&#039;s bootscript.&lt;br /&gt;
&lt;br /&gt;
== Multilib ==&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;This package does not provide any libraries so only one installation is needed.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== 32Bit ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILD32}&amp;quot; ./configure --prefix=/usr --without-sendmail \&lt;br /&gt;
     --with-boot-install=no &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== N32 ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILDN32}&amp;quot; ./configure --prefix=/usr --without-sendmail \&lt;br /&gt;
     --with-boot-install=no &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== 64Bit ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILD64}&amp;quot; ./configure --without-sendmail \&lt;br /&gt;
     --with-boot-install=no &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
&lt;br /&gt;
=== Config Files ===&lt;br /&gt;
&lt;br /&gt;
/etc/fcron.conf, /etc/fcron.allow, and /etc/fcron.deny&lt;br /&gt;
&lt;br /&gt;
=== Configuration Information ===&lt;br /&gt;
&lt;br /&gt;
You don&#039;t really need to do anything to configure Fcron, but &#039;&#039;&#039;fcrontab&#039;&#039;&#039; is used to write &#039;&#039;&#039;fcron&#039;&#039;&#039; scripts. Refer to the man pages for more information.&lt;br /&gt;
&lt;br /&gt;
If [[Linux-PAM]] was installed, then two PAM configuration files were installed in /etc/pam.d. However, if there is no /etc/pam.d and you are using /etc/pam.conf instead, then corresponding configuration sections were added to your pam.conf file instead.&lt;br /&gt;
&lt;br /&gt;
=== Boot Script ===&lt;br /&gt;
&lt;br /&gt;
[[blfs-bootscripts]] has a boot script for Fcron. Install it as follows:&lt;br /&gt;
&lt;br /&gt;
 make install-fcron&lt;br /&gt;
&lt;br /&gt;
= Contents =&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left;&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Installed Programs:&lt;br /&gt;
| fcron, fcrondyn, fcronsighup, fcrontab&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Installed Libraries:&lt;br /&gt;
| None&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Installed Directory:&lt;br /&gt;
| /usr/share/doc/fcron-{{Fcron Version}}, /var/spool/fcron&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Short Descriptions ===&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left;&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! fcron &lt;br /&gt;
| is a daemon to execute scheduled tasks.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! fcrondyn&lt;br /&gt;
| is a user tool intended to interact with a running fcron daemon. It can, for instance, list user&#039;s jobs loaded by fcron, run one of them, renice a running job, send a signal to a running job, etc.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! fcronsighup&lt;br /&gt;
| is the program used by &#039;&#039;&#039;fcrontab&#039;&#039;&#039; to tell &#039;&#039;&#039;fcron&#039;&#039;&#039; it should reload its configuration.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! fcrontab&lt;br /&gt;
| is the program intended to install, edit, list and remove the tables used by &#039;&#039;&#039;fcron&#039;&#039;&#039; daemon. As &#039;&#039;&#039;fcron&#039;&#039;&#039; internally uses a non-human readable format (this is needed because &#039;&#039;&#039;fcron&#039;&#039;&#039; saves more informations than the user gives, for example the time and date of next execution), the user cannot directly edit their fcrontab (the one used by &#039;&#039;&#039;fcron&#039;&#039;&#039;).&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>84.0.39.209</name></author>
	</entry>
	<entry>
		<id>?title=Fcron&amp;diff=10623</id>
		<title>Fcron</title>
		<link rel="alternate" type="text/html" href="?title=Fcron&amp;diff=10623"/>
		<updated>2007-07-06T12:08:48Z</updated>

		<summary type="html">&lt;p&gt;84.0.39.209: /* 32Bit */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| style=&amp;quot;text-align: left; background-color: AliceBlue;&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Download Source:&lt;br /&gt;
| ftp://ftp.seul.org/pub/fcron/fcron-{{Fcron Version}}.src.tar.gz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
{{Package-Introduction|Fcron is a periodical command scheduler which aims at replacing [[Vixie Cron]], so it implements most of its functionalities. However, unlike [[Vixie Cron]], Fcron does not assume that your system is running either all the time or regularly. You can, for instance, tell Fcron to execute tasks every x hours y minutes of system up time or to do a job only once in a specified interval of time. Fcron has also many more features: you can also set a nice value to a job, run it depending on the system load average, and much more.|http://fcron.free.fr/}}&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
=== Optional ===&lt;br /&gt;
* [[Linux-PAM]]&lt;br /&gt;
* [[SELinux]]&lt;br /&gt;
&lt;br /&gt;
== Creating the fcron User/Group ==&lt;br /&gt;
&lt;br /&gt;
We need to create the fcron group and the fcron user to run &#039;&#039;&#039;fcron&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 groupadd -g 24 fcron &amp;amp;&amp;amp;&lt;br /&gt;
 useradd -c &amp;quot;Fcron User&amp;quot; -d /dev/null -u 24 -g fcron -s /bin/false fcron&lt;br /&gt;
&lt;br /&gt;
== Note to DESTDIR Fans ==&lt;br /&gt;
&lt;br /&gt;
This package uses DESTDIR and for the most part installs itself beautifully. It has one problem however. The problem is [[Linux-PAM]]-related, so if you haven&#039;t installed [[Linux-PAM]], then you can ignore the rest of this section.&lt;br /&gt;
&lt;br /&gt;
The script that determines whether you are you using the /etc/pam.conf or the /etc/pam.d scheme for [[Linux-PAM]] configuration checks whether or not /etc/pam.d exists. If it does, then it assumes that you&#039;re using the /etc/pam.d scheme. If it doesn&#039;t, then it assumes that you&#039;re using the /etc/pam.conf scheme. This works just fine unless you&#039;re using DESTDIR. The script fails to take DESTDIR into account. As such, it goes looking for &amp;lt;DESTDIR&amp;gt;/etc/pam.d and naturally doesn&#039;t find it.&lt;br /&gt;
&lt;br /&gt;
So, if you&#039;re using DESTDIR, then it will &#039;&#039;always&#039;&#039; decide that you&#039;re using the /etc/pam.conf scheme. If you &#039;&#039;are&#039;&#039; using that scheme, then everythings fine and you can ignore the rest of this section. However if you&#039;re using the /etc/pam.d scheme, then you need to run the following command prior to running &#039;&#039;&#039;make install&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 install -dv &amp;lt;DESTDIR&amp;gt;/etc/pam.d&lt;br /&gt;
&lt;br /&gt;
This rather simple fix makes it so that Fcron&#039;s script thinks that you&#039;re using the /etc/pam.d scheme - which of course is what we want. With that, DESTDIR works just as you&#039;d expect.&lt;br /&gt;
&lt;br /&gt;
== Additional Configuration Options ==&lt;br /&gt;
{|&lt;br /&gt;
|&amp;lt;i&amp;gt;--with-editor=PATH:&amp;lt;/i&amp;gt; Set the default editor for fcron. Without this flag, Fcron assumes &#039;&#039;&#039;vi&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;i&amp;gt;--with-run-non-privileged=no:&amp;lt;/i&amp;gt; This is used if you want to run &#039;&#039;&#039;fcron&#039;&#039;&#039; as an unprivleged user. You need to look at [http://fcron.free.fr/doc/en/faq.html  Fcron&#039;s FAQ] if you want to do this.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;i&amp;gt;--with-dsssl-dir=/usr/share/sgml/docbook/dsssl-stylesheets-{{DocBook DSSSL StyleSheets-Version}}:&amp;lt;/i&amp;gt; Pass this to build the DocBook documentation.  This path assumes that you followed the CBLFS instructions for installing the [[DocBook DSSSL StyleSheets]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Extra ==&lt;br /&gt;
&lt;br /&gt;
If you want to Fcron to log its messages, then you need to add it to /etc/syslog.conf.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sed -i &#039;s@# End /etc/syslog.conf@@&#039; /etc/syslog.conf &amp;amp;&amp;amp;&lt;br /&gt;
cat &amp;gt;&amp;gt; /etc/syslog.conf &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
# log Fcron:&lt;br /&gt;
cron.*                                          -/var/log/cron.log&lt;br /&gt;
&lt;br /&gt;
# End /etc/syslog.conf&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The large spacing makes it so that it lines up with what&#039;s already in /etc/syslog.conf. The sed makes it so that the comment that delineates the end of the file still delineates the end of the file after our addition.&lt;br /&gt;
&lt;br /&gt;
In order to bring our changes into effect, we need to reload the &#039;&#039;&#039;sysklogd&#039;&#039;&#039; daemon:&lt;br /&gt;
&lt;br /&gt;
 /etc/rc.d/init.d/sysklogd reload&lt;br /&gt;
&lt;br /&gt;
== Non-Multilib ==&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 ./configure --prefix=/usr --without-sendmail --with-boot-install=no &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== Command Explanations ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;--without-sendmail&#039;&#039;: This stops Fcron from e-mailing you the results of the &#039;&#039;&#039;fcron&#039;&#039; script.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;--with-boot-install=no&#039;&#039;: This prevents the installation of the package&#039;s bootscript.&lt;br /&gt;
&lt;br /&gt;
== Multilib ==&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;This package does not provide any libraries so only one installation is needed.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== 32Bit ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILD32}&amp;quot; ./configure --prefix=/usr --without-sendmail \&lt;br /&gt;
     --with-boot-install=no &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== N32 ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILDN32}&amp;quot; ./configure --without-sendmail \&lt;br /&gt;
     --with-boot-install=no &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== 64Bit ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILD64}&amp;quot; ./configure --without-sendmail \&lt;br /&gt;
     --with-boot-install=no &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
&lt;br /&gt;
=== Config Files ===&lt;br /&gt;
&lt;br /&gt;
/etc/fcron.conf, /etc/fcron.allow, and /etc/fcron.deny&lt;br /&gt;
&lt;br /&gt;
=== Configuration Information ===&lt;br /&gt;
&lt;br /&gt;
You don&#039;t really need to do anything to configure Fcron, but &#039;&#039;&#039;fcrontab&#039;&#039;&#039; is used to write &#039;&#039;&#039;fcron&#039;&#039;&#039; scripts. Refer to the man pages for more information.&lt;br /&gt;
&lt;br /&gt;
If [[Linux-PAM]] was installed, then two PAM configuration files were installed in /etc/pam.d. However, if there is no /etc/pam.d and you are using /etc/pam.conf instead, then corresponding configuration sections were added to your pam.conf file instead.&lt;br /&gt;
&lt;br /&gt;
=== Boot Script ===&lt;br /&gt;
&lt;br /&gt;
[[blfs-bootscripts]] has a boot script for Fcron. Install it as follows:&lt;br /&gt;
&lt;br /&gt;
 make install-fcron&lt;br /&gt;
&lt;br /&gt;
= Contents =&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left;&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Installed Programs:&lt;br /&gt;
| fcron, fcrondyn, fcronsighup, fcrontab&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Installed Libraries:&lt;br /&gt;
| None&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Installed Directory:&lt;br /&gt;
| /usr/share/doc/fcron-{{Fcron Version}}, /var/spool/fcron&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Short Descriptions ===&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left;&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! fcron &lt;br /&gt;
| is a daemon to execute scheduled tasks.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! fcrondyn&lt;br /&gt;
| is a user tool intended to interact with a running fcron daemon. It can, for instance, list user&#039;s jobs loaded by fcron, run one of them, renice a running job, send a signal to a running job, etc.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! fcronsighup&lt;br /&gt;
| is the program used by &#039;&#039;&#039;fcrontab&#039;&#039;&#039; to tell &#039;&#039;&#039;fcron&#039;&#039;&#039; it should reload its configuration.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! fcrontab&lt;br /&gt;
| is the program intended to install, edit, list and remove the tables used by &#039;&#039;&#039;fcron&#039;&#039;&#039; daemon. As &#039;&#039;&#039;fcron&#039;&#039;&#039; internally uses a non-human readable format (this is needed because &#039;&#039;&#039;fcron&#039;&#039;&#039; saves more informations than the user gives, for example the time and date of next execution), the user cannot directly edit their fcrontab (the one used by &#039;&#039;&#039;fcron&#039;&#039;&#039;).&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>84.0.39.209</name></author>
	</entry>
	<entry>
		<id>?title=Fcron&amp;diff=10622</id>
		<title>Fcron</title>
		<link rel="alternate" type="text/html" href="?title=Fcron&amp;diff=10622"/>
		<updated>2007-07-06T12:08:23Z</updated>

		<summary type="html">&lt;p&gt;84.0.39.209: /* Non-Multilib */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| style=&amp;quot;text-align: left; background-color: AliceBlue;&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Download Source:&lt;br /&gt;
| ftp://ftp.seul.org/pub/fcron/fcron-{{Fcron Version}}.src.tar.gz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
{{Package-Introduction|Fcron is a periodical command scheduler which aims at replacing [[Vixie Cron]], so it implements most of its functionalities. However, unlike [[Vixie Cron]], Fcron does not assume that your system is running either all the time or regularly. You can, for instance, tell Fcron to execute tasks every x hours y minutes of system up time or to do a job only once in a specified interval of time. Fcron has also many more features: you can also set a nice value to a job, run it depending on the system load average, and much more.|http://fcron.free.fr/}}&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
=== Optional ===&lt;br /&gt;
* [[Linux-PAM]]&lt;br /&gt;
* [[SELinux]]&lt;br /&gt;
&lt;br /&gt;
== Creating the fcron User/Group ==&lt;br /&gt;
&lt;br /&gt;
We need to create the fcron group and the fcron user to run &#039;&#039;&#039;fcron&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 groupadd -g 24 fcron &amp;amp;&amp;amp;&lt;br /&gt;
 useradd -c &amp;quot;Fcron User&amp;quot; -d /dev/null -u 24 -g fcron -s /bin/false fcron&lt;br /&gt;
&lt;br /&gt;
== Note to DESTDIR Fans ==&lt;br /&gt;
&lt;br /&gt;
This package uses DESTDIR and for the most part installs itself beautifully. It has one problem however. The problem is [[Linux-PAM]]-related, so if you haven&#039;t installed [[Linux-PAM]], then you can ignore the rest of this section.&lt;br /&gt;
&lt;br /&gt;
The script that determines whether you are you using the /etc/pam.conf or the /etc/pam.d scheme for [[Linux-PAM]] configuration checks whether or not /etc/pam.d exists. If it does, then it assumes that you&#039;re using the /etc/pam.d scheme. If it doesn&#039;t, then it assumes that you&#039;re using the /etc/pam.conf scheme. This works just fine unless you&#039;re using DESTDIR. The script fails to take DESTDIR into account. As such, it goes looking for &amp;lt;DESTDIR&amp;gt;/etc/pam.d and naturally doesn&#039;t find it.&lt;br /&gt;
&lt;br /&gt;
So, if you&#039;re using DESTDIR, then it will &#039;&#039;always&#039;&#039; decide that you&#039;re using the /etc/pam.conf scheme. If you &#039;&#039;are&#039;&#039; using that scheme, then everythings fine and you can ignore the rest of this section. However if you&#039;re using the /etc/pam.d scheme, then you need to run the following command prior to running &#039;&#039;&#039;make install&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 install -dv &amp;lt;DESTDIR&amp;gt;/etc/pam.d&lt;br /&gt;
&lt;br /&gt;
This rather simple fix makes it so that Fcron&#039;s script thinks that you&#039;re using the /etc/pam.d scheme - which of course is what we want. With that, DESTDIR works just as you&#039;d expect.&lt;br /&gt;
&lt;br /&gt;
== Additional Configuration Options ==&lt;br /&gt;
{|&lt;br /&gt;
|&amp;lt;i&amp;gt;--with-editor=PATH:&amp;lt;/i&amp;gt; Set the default editor for fcron. Without this flag, Fcron assumes &#039;&#039;&#039;vi&#039;&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;i&amp;gt;--with-run-non-privileged=no:&amp;lt;/i&amp;gt; This is used if you want to run &#039;&#039;&#039;fcron&#039;&#039;&#039; as an unprivleged user. You need to look at [http://fcron.free.fr/doc/en/faq.html  Fcron&#039;s FAQ] if you want to do this.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;i&amp;gt;--with-dsssl-dir=/usr/share/sgml/docbook/dsssl-stylesheets-{{DocBook DSSSL StyleSheets-Version}}:&amp;lt;/i&amp;gt; Pass this to build the DocBook documentation.  This path assumes that you followed the CBLFS instructions for installing the [[DocBook DSSSL StyleSheets]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Extra ==&lt;br /&gt;
&lt;br /&gt;
If you want to Fcron to log its messages, then you need to add it to /etc/syslog.conf.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sed -i &#039;s@# End /etc/syslog.conf@@&#039; /etc/syslog.conf &amp;amp;&amp;amp;&lt;br /&gt;
cat &amp;gt;&amp;gt; /etc/syslog.conf &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
# log Fcron:&lt;br /&gt;
cron.*                                          -/var/log/cron.log&lt;br /&gt;
&lt;br /&gt;
# End /etc/syslog.conf&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The large spacing makes it so that it lines up with what&#039;s already in /etc/syslog.conf. The sed makes it so that the comment that delineates the end of the file still delineates the end of the file after our addition.&lt;br /&gt;
&lt;br /&gt;
In order to bring our changes into effect, we need to reload the &#039;&#039;&#039;sysklogd&#039;&#039;&#039; daemon:&lt;br /&gt;
&lt;br /&gt;
 /etc/rc.d/init.d/sysklogd reload&lt;br /&gt;
&lt;br /&gt;
== Non-Multilib ==&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 ./configure --prefix=/usr --without-sendmail --with-boot-install=no &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== Command Explanations ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;--without-sendmail&#039;&#039;: This stops Fcron from e-mailing you the results of the &#039;&#039;&#039;fcron&#039;&#039; script.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;--with-boot-install=no&#039;&#039;: This prevents the installation of the package&#039;s bootscript.&lt;br /&gt;
&lt;br /&gt;
== Multilib ==&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;This package does not provide any libraries so only one installation is needed.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== 32Bit ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILD32}&amp;quot; ./configure --without-sendmail \&lt;br /&gt;
     --with-boot-install=no &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== N32 ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILDN32}&amp;quot; ./configure --without-sendmail \&lt;br /&gt;
     --with-boot-install=no &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== 64Bit ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc ${BUILD64}&amp;quot; ./configure --without-sendmail \&lt;br /&gt;
     --with-boot-install=no &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
&lt;br /&gt;
=== Config Files ===&lt;br /&gt;
&lt;br /&gt;
/etc/fcron.conf, /etc/fcron.allow, and /etc/fcron.deny&lt;br /&gt;
&lt;br /&gt;
=== Configuration Information ===&lt;br /&gt;
&lt;br /&gt;
You don&#039;t really need to do anything to configure Fcron, but &#039;&#039;&#039;fcrontab&#039;&#039;&#039; is used to write &#039;&#039;&#039;fcron&#039;&#039;&#039; scripts. Refer to the man pages for more information.&lt;br /&gt;
&lt;br /&gt;
If [[Linux-PAM]] was installed, then two PAM configuration files were installed in /etc/pam.d. However, if there is no /etc/pam.d and you are using /etc/pam.conf instead, then corresponding configuration sections were added to your pam.conf file instead.&lt;br /&gt;
&lt;br /&gt;
=== Boot Script ===&lt;br /&gt;
&lt;br /&gt;
[[blfs-bootscripts]] has a boot script for Fcron. Install it as follows:&lt;br /&gt;
&lt;br /&gt;
 make install-fcron&lt;br /&gt;
&lt;br /&gt;
= Contents =&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left;&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Installed Programs:&lt;br /&gt;
| fcron, fcrondyn, fcronsighup, fcrontab&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Installed Libraries:&lt;br /&gt;
| None&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Installed Directory:&lt;br /&gt;
| /usr/share/doc/fcron-{{Fcron Version}}, /var/spool/fcron&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Short Descriptions ===&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left;&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! fcron &lt;br /&gt;
| is a daemon to execute scheduled tasks.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! fcrondyn&lt;br /&gt;
| is a user tool intended to interact with a running fcron daemon. It can, for instance, list user&#039;s jobs loaded by fcron, run one of them, renice a running job, send a signal to a running job, etc.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! fcronsighup&lt;br /&gt;
| is the program used by &#039;&#039;&#039;fcrontab&#039;&#039;&#039; to tell &#039;&#039;&#039;fcron&#039;&#039;&#039; it should reload its configuration.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! fcrontab&lt;br /&gt;
| is the program intended to install, edit, list and remove the tables used by &#039;&#039;&#039;fcron&#039;&#039;&#039; daemon. As &#039;&#039;&#039;fcron&#039;&#039;&#039; internally uses a non-human readable format (this is needed because &#039;&#039;&#039;fcron&#039;&#039;&#039; saves more informations than the user gives, for example the time and date of next execution), the user cannot directly edit their fcrontab (the one used by &#039;&#039;&#039;fcron&#039;&#039;&#039;).&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>84.0.39.209</name></author>
	</entry>
	<entry>
		<id>?title=Logrotate&amp;diff=10621</id>
		<title>Logrotate</title>
		<link rel="alternate" type="text/html" href="?title=Logrotate&amp;diff=10621"/>
		<updated>2007-07-06T12:03:46Z</updated>

		<summary type="html">&lt;p&gt;84.0.39.209: /* Dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| style=&amp;quot;text-align: left; background-color: AliceBlue;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Download Source:&lt;br /&gt;
|http://cross-lfs.org/~arowland/logrotate-{{Logrotate-Version}}.tar.gz&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
{{Package-Introduction|Logrotate is a utility for automatically rotating log files.  Logrotate use a configuration file to determine the conditions that must be satisfied to rotate a log file.  Logrotate can be run manually, but would typically be run as a cron job.}}&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
=== Required ===&lt;br /&gt;
* [[popt]]&lt;br /&gt;
=== Recommended ===&lt;br /&gt;
* [[Fcron]]&lt;br /&gt;
&lt;br /&gt;
== Non-Multilib ==&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
== Multilib ==&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;This package does not install any libraries so only one installation is needed.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== 32bit ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 make CC=&amp;quot;gcc ${BUILD32}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== N32 ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 make CC=&amp;quot;gcc ${BUILDN32}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== 64bit ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 make CC=&amp;quot;gcc ${BUILD64}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Install the package:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
&lt;br /&gt;
Create the logrotate configuration file.&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt;&amp;gt; /etc/logrotate.conf &amp;lt;&amp;lt; EOF&lt;br /&gt;
 # Begin of /etc/logrotate.conf&lt;br /&gt;
 &lt;br /&gt;
 # Rotate log files weekly.&lt;br /&gt;
 weekly&lt;br /&gt;
 &lt;br /&gt;
 # Send mail to no one.&lt;br /&gt;
 nomail&lt;br /&gt;
 &lt;br /&gt;
 # If the log file is empty, it do not rotate it.&lt;br /&gt;
 notifempty&lt;br /&gt;
 &lt;br /&gt;
 # Number of backups that will be kept.&lt;br /&gt;
 # This will keep the 2 newest backups only.&lt;br /&gt;
 rotate 2&lt;br /&gt;
 &lt;br /&gt;
 # Create new empty files after rotating the old ones&lt;br /&gt;
 # This will create empty log files, with owner&lt;br /&gt;
 # set to root, group set to root, and permissions 644.&lt;br /&gt;
 create 0664 root root&lt;br /&gt;
 &lt;br /&gt;
 # Compress the backups with gzip.&lt;br /&gt;
 compress&lt;br /&gt;
 &lt;br /&gt;
 # RPM packages drop log rotation info in this directory.&lt;br /&gt;
 # Uncomment if you use RPM packages.&lt;br /&gt;
 # include /etc/logrotate.d&lt;br /&gt;
 &lt;br /&gt;
 # End of /etc/logrotate.conf&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
Add each of the log files in /var/log to /etc/logrotate.conf to be rotated if they exceed 100K in size:&lt;br /&gt;
&lt;br /&gt;
 for logfile in $(find /var/log/*.log -type f); do&lt;br /&gt;
   echo $logfile {&amp;gt;&amp;gt; /etc/logrotate.conf&lt;br /&gt;
   echo # If the log file is larger than 100kb, rotate it &amp;gt;&amp;gt; /etc/logrotate.conf&lt;br /&gt;
   echo  	size=100k &amp;gt;&amp;gt; /etc/logrotate.conf&lt;br /&gt;
   echo } &amp;gt;&amp;gt; /etc/logrotate.conf&lt;br /&gt;
   echo &amp;quot;&amp;quot;&amp;gt;&amp;gt; /etc/logrotate.conf&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
=== Cron Job ===&lt;br /&gt;
&lt;br /&gt;
Assuming you have Fcron installed, create a cron job:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt;&amp;gt; /etc/fcrontab &amp;lt;&amp;lt; EOF&lt;br /&gt;
   0 12 * * * 0 	/usr/sbin/logrotate /etc/logrotate.conf&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
== Contents ==&lt;br /&gt;
&lt;br /&gt;
{|style=&amp;quot;text-align: left&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!Installed Directories:&lt;br /&gt;
|None&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!Installed Programs:&lt;br /&gt;
|logrotate&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!Installed Libraries:&lt;br /&gt;
|None&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!Symlinks:&lt;br /&gt;
|None&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Short Descriptions ===&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align: left;&amp;quot;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!logrotate&lt;br /&gt;
|is a utility that rotates and optionally compresses old log files.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>84.0.39.209</name></author>
	</entry>
</feed>