1 TITLE: Patching and compiling Dillon's Cron Daemon
3 AUTHOR: Leslie Polzer <leslie.polzer@gmx.net>
6 dcron is a stable cron implementation without bells and whistles.
12 1 Why use dcron when there's fcron?
18 1 Why use dcron when there's fcron?
19 -----------------------------------
21 dcron just gives you two binaries, crond and crontab, and consists
22 only of a few source files.
24 binaries are only about 25k
26 it is many distributions' default cron and in use since ~1994.
28 that's the consequence of being simple and mature.
30 fcron only worked for root on my box, no matter how hard I tried.
35 Download dcron 2.3.3 here:
36 http://www.ibiblio.org/pub/Linux/system/daemons/cron/dcron-2.3.3.tar.gz
38 You will also need this patch I made:
39 http://linuxfromscratch.org/~timothy/misc/dcron-2.3.3.patch
41 Unpack the tarball, put the patch into the resulting folder and cd into it.
48 patch < dcron-2.3.3.patch
50 Now you can do the actual compile and install:
55 Last line as superuser.
60 Start the cron daemon from your bootscripts.
61 dcron can only log to STDOUT so add a I/O redirect:
63 /usr/bin/crond -l8 >> /var/log/cron.log 2>&1
67 If you want to allow every user to use cron, you're fine now.
68 If you want to restrict access to cron, do:
71 chown root.cron /usr/bin/crontab
72 chmod 4750 /usr/bin/crontab
74 Now add every user that is allowed to use cron to the new group 'cron'.
79 If you want a nice GTK frontend to cron (hate to remember those field orders!),
80 look out for 'gcrontab'. There is also a frontend for GNOME and maybe one for