Debian Codegraph @

README

raw
1 bcron
2 Short Description
3 Bruce Guenter <[email protected]>
4 Version 0.11
5 2015-08-12
6
7 This is bcron, a new cron system designed with secure operations in
8 mind. To do this, the system is divided into several seperate programs,
9 each responsible for a seperate task, with strictly controlled
10 communications between them. The user interface is a drop-in
11 replacement for similar systems (such as vixie-cron), but the internals
12 differ greatly.
13
14 A mailing list has been set up to discuss this and other packages.
15 To subscribe, send an email to:
16 [email protected]
17 A mailing list archive is available at:
18 http://lists.untroubled.org/?list=bgware
19
20 Development versions of bcron are available at:
21 https://github.com/bruceg/bcron
22
23 Requirements:
24
25 - Needs ucspi-unix (or ucspi-local) to be able to accept user-submitted
26 crontabs.
27 - bglibs version 1.100 or later from http://untroubled.org/bglibs/
28
29 Installation:
30
31 - Edit the configuration in the conf-* files as necessary.
32 - Build the sources by running "make".
33 - Install the package by running "make install" as root.
34
35 Configuration:
36
37 - Create a system user and group "cron". This user will own all the
38 crontab files.
39
40 - Create the spool directory as follows:
41 mkdir -p /var/spool/cron/crontabs /var/spool/cron/tmp
42 mkfifo /var/spool/cron/trigger
43 for i in crontabs tmp trigger; do
44 chown cron:cron /var/spool/cron/$i
45 chmod go-rwx /var/spool/cron/$i
46 done
47
48 - Create the configuration directory /etc/bcron as follows:
49 mkdir -p /etc/bcron
50 You can put any common configuration settings into this directory,
51 like alternate spool directories in BCRON_SPOOL.
52
53 Operation:
54
55 - The scheduler can be started with the following command:
56 envdir /etc/bcron bcron-start | multilog t /var/log/bcron &
57
58 - To accept crontabs from users, run the spooler:
59 envdir /etc/bcron \
60 envuidgid cron \
61 unixserver -U /var/run/bcron-spool \
62 bcron-spool >/dev/null 2>&1 &
63
64 - To update system crontabs, run the updater:
65 envdir /etc/bcron \
66 bcron-update /etc/crontab /etc/cron.d >/dev/null 2>&1 &
67
68 - Sample run scripts are provided for operating the above commands under
69 svscan and supervise (or equivalents such as runit).
70
71 This package is Copyright(C) 2015 Bruce Guenter or FutureQuest, Inc.,
72 and may be copied according to the GNU GENERAL PUBLIC LICENSE (GPL)
73 Version 2 or a later version. A copy of this license is included with
74 this package. This package comes with no warranty of any kind.