Re: Announcing bcron version 0.08
Gerrit Pape <[email protected]>
| Newsgroups | gmane.comp.sysutils.bgware |
|---|---|
| Message-ID | <20050403113404.13848.qmail@54ed823cd376a9.315fe32.mid.smarden.org> |
On Thu, Mar 31, 2005 at 05:50:20AM -0000, Bruce Guenter wrote: > Version 0.08 of bcron is now available at: > http://untroubled.org/bcron/ This is nice. I started working on integrating it into Debian to replace the default cron package, and all works out well so far. Thanks! I have some fixes/suggestions for the man pages, see the patch below, and suggest to remove bcron.html and bcron.info from TARGETS as these files are included in the .tar.gz. I'm not that confident with the bcron-spool socket by default being /tmp/.bcron-spool, I think /var/run/.bcron-spool would be better. Hmm, the bcron-update service still bugs me somehow. It could be replaced with a magic file in /var/spool/cron/crontabs/ for example, so saving one service, having the system crontabs updated through a program run by bcron-exec. Regards, Gerrit. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
man.diff
(text/plain, 1.6 KB)
Index: bcron-sched.8 =================================================================== RCS file: /cvs/bcron/bcron-sched.8,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 bcron-sched.8 --- bcron-sched.8 1 Apr 2005 17:24:34 -0000 1.1.1.1 +++ bcron-sched.8 3 Apr 2005 11:04:09 -0000 @@ -21,8 +21,7 @@ The spool directory for bcron. Defaults to .IR /var/spool/cron . .SH FILES -All files used by the program. You should probably use the .I tag for -these. +.I /var/spool/cron/crontabs/* .SH SEE ALSO bcron-exec(8), bcron-start(8), bcrontab(1) .SH AUTHOR Index: bcrontab.1 =================================================================== RCS file: /cvs/bcron/bcrontab.1,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 bcrontab.1 --- bcrontab.1 1 Apr 2005 17:24:34 -0000 1.1.1.1 +++ bcrontab.1 3 Apr 2005 11:04:09 -0000 @@ -54,7 +54,8 @@ crontab. If neither are set, .I /bin/vi is used. -.TP BCRON_SOCKET +.TP +.B BCRON_SOCKET The path to the named socket used to communicate with .BR bcron-spool . Defaults to Index: crontab.5 =================================================================== RCS file: /cvs/bcron/crontab.5,v retrieving revision 1.3 diff -u -r1.3 crontab.5 --- crontab.5 1 Apr 2005 17:26:07 -0000 1.3 +++ crontab.5 3 Apr 2005 11:04:10 -0000 @@ -162,8 +162,12 @@ 5 4 * * sun echo "run at 5 after 4 every sunday" .fi .SH FILES -/etc/crontab System crontab file -/etc/cron.d System crontab directory +.TP 14 +.I /etc/crontab +System crontab file +.TP +.I /etc/cron.d/ +System crontab directory .SH SEE ALSO bcron\-sched(8), bcron\-spool(8), bcrontab(1) .SH EXTENSIONS
TARGETS.diff
(text/plain, 364 B)
Index: TARGETS =================================================================== RCS file: /cvs/bcron/TARGETS,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 TARGETS --- TARGETS 1 Apr 2005 17:24:34 -0000 1.1.1.1 +++ TARGETS 2 Apr 2005 09:07:22 -0000 @@ -10,8 +10,6 @@ bcron-update bcron-update.o bcron.a -bcron.html -bcron.info bcrontab bcrontab.o chdir.o
var-run.diff
(text/plain, 3.4 KB)
Index: bcron-spool.8
===================================================================
RCS file: /cvs/bcron/bcron-spool.8,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 bcron-spool.8
--- bcron-spool.8 1 Apr 2005 17:24:35 -0000 1.1.1.1
+++ bcron-spool.8 3 Apr 2005 11:30:47 -0000
@@ -2,7 +2,7 @@
.SH NAME
bcron-spool \- Manage user crontab submissions
.SH SYNOPSIS
-.B envuidgid $BCRON_USER unixserver -U /tmp/.bcron-spool bcron-spool
+.B envuidgid $BCRON_USER unixserver -U /var/run/.bcron-spool bcron-spool
.SH DESCRIPTION
.B bcron-spool
manipulates the bcron spool on behalf of users. It accepts one of three
Index: bcron-spool.run
===================================================================
RCS file: /cvs/bcron/bcron-spool.run,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 bcron-spool.run
--- bcron-spool.run 1 Apr 2005 17:24:35 -0000 1.1.1.1
+++ bcron-spool.run 3 Apr 2005 11:30:47 -0000
@@ -5,6 +5,6 @@
envuidgid cron \
sh -c '
exec \
-unixserver -U ${BCRON_SOCKET:-/tmp/.bcron-spool} \
+unixserver -U ${BCRON_SOCKET:-/var/run/.bcron-spool} \
bcron-spool
'
Index: bcron.h
===================================================================
RCS file: /cvs/bcron/bcron.h,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 bcron.h
--- bcron.h 1 Apr 2005 17:24:36 -0000 1.1.1.1
+++ bcron.h 3 Apr 2005 11:30:47 -0000
@@ -8,7 +8,7 @@
#define BCRON_SPOOL "/var/spool/cron"
#define CRONTAB_DIR "crontabs"
-#define SOCKET_PATH "/tmp/.bcron-spool"
+#define SOCKET_PATH "/var/run/.bcron-spool"
#define BCRON_USER "cron"
#define TRIGGER "trigger"
Index: bcron.html
===================================================================
RCS file: /cvs/bcron/bcron.html,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 bcron.html
--- bcron.html 1 Apr 2005 17:24:32 -0000 1.1.1.1
+++ bcron.html 3 Apr 2005 11:30:49 -0000
@@ -949,7 +949,7 @@
</dd>
<dt> <code>BCRON_SOCKET</code></dt>
<dd><p>The full path to the UNIX-domain socket used to submit crontabs.
-Defaults to <tt>`/tmp/.bcron-spool'</tt>.
+Defaults to <tt>`/var/run/.bcron-spool'</tt>.
</p>
</dd>
</dl>
Index: bcron.info
===================================================================
RCS file: /cvs/bcron/bcron.info,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 bcron.info
--- bcron.info 1 Apr 2005 17:24:33 -0000 1.1.1.1
+++ bcron.info 3 Apr 2005 11:30:50 -0000
@@ -524,7 +524,7 @@
`BCRON_SOCKET'
The full path to the UNIX-domain socket used to submit crontabs.
- Defaults to `/tmp/.bcron-spool'.
+ Defaults to `/var/run/.bcron-spool'.
Index: bcron.texi
===================================================================
RCS file: /cvs/bcron/bcron.texi,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 bcron.texi
--- bcron.texi 1 Apr 2005 17:24:34 -0000 1.1.1.1
+++ bcron.texi 3 Apr 2005 11:30:51 -0000
@@ -577,7 +577,7 @@
@item BCRON_SOCKET
The full path to the UNIX-domain socket used to submit crontabs.
-Defaults to @file{/tmp/.bcron-spool}.
+Defaults to @file{/var/run/.bcron-spool}.
@end table
Index: bcrontab.1
===================================================================
RCS file: /cvs/bcron/bcrontab.1,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 bcrontab.1
--- bcrontab.1 1 Apr 2005 17:24:34 -0000 1.1.1.1
+++ bcrontab.1 3 Apr 2005 11:30:51 -0000
@@ -58,7 +58,7 @@
The path to the named socket used to communicate with
.BR bcron-spool .
Defaults to
-.IR /etc/.bcron-spool .
+.IR /var/run/.bcron-spool .
.TP
.B LOGNAME
.TP