nightmorph 08/01/27 00:42:40 Modified: cron-guide.xml Log: added bcron info, bug 197248
Revision Changes Path 1.16 xml/htdocs/doc/en/cron-guide.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/cron-guide.xml?rev=1.16&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/cron-guide.xml?rev=1.16&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/cron-guide.xml?r1=1.15&r2=1.16 Index: cron-guide.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/cron-guide.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- cron-guide.xml 29 Apr 2007 16:41:28 -0000 1.15 +++ cron-guide.xml 27 Jan 2008 00:42:40 -0000 1.16 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/cron-guide.xml,v 1.15 2007/04/29 16:41:28 rane Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/cron-guide.xml,v 1.16 2008/01/27 00:42:40 nightmorph Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/cron-guide.xml"> @@ -11,6 +11,9 @@ <author title="Editor"> <mail link="[EMAIL PROTECTED]">Xavier Neys</mail> </author> +<author title="Editor"> + <mail link="nightmorph"/> +</author> <abstract> This guide describes how to setup and use cron. @@ -20,8 +23,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>1.8</version> -<date>2007-04-29</date> +<version>1.9</version> +<date>2008-01-26</date> <chapter> <title>Cron basics</title> @@ -47,15 +50,14 @@ <body> <p> -There are at least three cron implementations for you to choose from in -Portage. All of them offer a similar interface, namely the use of -<c>crontab</c> or a similar command. There is also a related utility called -Anacron which is meant to work with cron on systems that are not continuously -running. +There are a few cron implementations for you to choose from in Portage. All of +them offer a similar interface, namely the use of <c>crontab</c> or a similar +command. There is also a related utility called Anacron which is meant to work +with cron on systems that are not continuously running. </p> <p> -It is also worth noting that all three of the available cron packages depend on +It is also worth noting that all of the available cron packages depend on <c>sys-process/cronbase</c>. This package is not technically depended on by any of the cron packages, but it does provide cron-like functionality that most users can appreciate. @@ -166,7 +168,31 @@ </body> </section> +<section> +<title>bcron</title> +<body> +<p> +bcron is a new cron system designed with secure operations in mind. To do this, +the system is divided into several separate programs, each responsible for a +separate task, with strictly controlled communications between them. The user +interface is a drop-in replacement for similar systems (such as vixie-cron), but +the internals differ greatly. For more information, see the bcron homepage at +<uri>http://untroubled.org/bcron/</uri>. +</p> + +<p> +Features of <c>sys-process/bcron</c>: +</p> + +<ul> + <li>Drop-in replacement for vixie-cron</li> + <li>Multiprocess design</li> + <li>Native daylight savings time support</li> +</ul> + +</body> +</section> <section> <title>Anacron</title> <body> @@ -235,7 +261,7 @@ <p> Of course, you can choose not to use any system crontab at all. If you chose Dcron or Fcron, do <e>not</e> run <c>crontab /etc/crontab</c>. If you chose -vixie-cron, you should comment all lines in <path>/etc/crontab</path>. +vixie-cron or bcron, you should comment all lines in <path>/etc/crontab</path>. </p> <pre caption="Commenting all lines in /etc/crontab"> @@ -370,7 +396,7 @@ <ti><c>fcrontab -l</c></ti> </tr> <tr> - <ti>vixie-cron</ti> + <ti>vixie-cron & bcron</ti> <ti><c>crontab -e</c></ti> <ti><c>crontab -r <e>-u [user]</e></c></ti> <ti><c>crontab <e>file</e></c></ti> @@ -588,7 +614,7 @@ <body> <p> -As mentioned earlier, all three of the available cron packages depend on +As mentioned earlier, all of the available cron packages depend on <c>sys-process/cronbase</c>. The cronbase package creates <path>/etc/cron.{hourly,daily,weekly,monthly}</path>, and a script called <c>run-crons</c>. You might have noticed that the default @@ -624,7 +650,7 @@ </ul> <note> -Again, it is useful to point out that Vixie cron automatically reads +Again, it is useful to point out that Vixie cron and bcron automatically read <path>/etc/crontab</path>, while dcron and fcron do not. Please read the <uri link="#systemtab">System crontab</uri> section to learn more about this. </note> -- [email protected] mailing list
