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