1 AUTHOR: Leslie Polzer <leslie.polzer@gmx.net>
5 LICENSE: GNU Free Documentation License Version 1.2
7 SYNOPSIS: Fixing, compiling and installing dcron.
10 This guide documents how to fix, compile and install dcron, a light-weight
11 and stable cron for UNIX systems without bells and whistles.
20 1 Why use dcron when there's fcron?
26 1 Why use dcron when there's fcron?
27 -----------------------------------
29 dcron just gives you two binaries, crond and crontab, and consists
30 only of a few source files.
32 binaries (i386-elf) are only about 25k
34 it is many distributions' default cron and in use since ~1994.
36 that's the consequence of being simple and mature.
38 fcron only worked for root on my box, no matter how hard I tried.
43 Download dcron 2.3.3 here:
44 http://www.ibiblio.org/pub/Linux/system/daemons/cron/dcron-2.3.3.tar.gz
46 You will also need this patch I made:
47 http://www.fmi.uni-passau.de/~polzer/patches/dcron-2.3.3.patch
49 Unpack the tarball, put the patch into the resulting folder and cd into it.
56 patch < dcron-2.3.3.patch
58 Now you can do the actual compile and install:
63 Last line as superuser.
68 Start the cron daemon from your bootscripts.
69 dcron can only log to STDOUT so add a I/O redirect:
71 /usr/bin/crond -l8 >> /var/log/cron.log 2>&1
75 If you want to allow every user to use cron, you're fine now.
76 If you want to restrict access to cron, do:
79 chown root.cron /usr/bin/crontab
80 chmod 4750 /usr/bin/crontab
82 Now add every user that is allowed to use cron to the new group 'cron'.
87 If you want a nice GTK frontend to cron (hate to remember those field orders!),
88 look out for 'gcrontab'. There is also a frontend for GNOME and maybe one for