On Mon, May 20, 2002 at 10:24:58AM -0400, Kevin C. Krinke wrote: > The only real issue I've come across with no answer (from the > maint-guide and other related documentation as well as #debian on > irc.openprojects.net) is related to the file debian/crontab. > > I need to be able to make crontab entires in the system wide crontab. > For my purposes cron.daily and cron.hourly are not usefull enough. > > So I go ahead and edit the debian/crontab.ex and save it as > debian/crontab. I build the package (with no problems) yet when I > install the package I can see no evidence what so ever of the crontab. > > What am I doing wrong? > > Is there some other configuration file that I have to inform that the > crontab file exists?
See dh_installcron(1). The cron files go under /etc in the cron.* directories. In your case, since it's not daily/weekly, it needs to go in `/etc/cron.d'. Assuming you are using debhelper, dh_installcron should do this. Just name the crontab as `debian/<package>.cron.d', and dh_installcron should install it into the package for you. If you are only producing a single .deb from the source, you could also name it `debian/cron.d'. If you are using debhelper compatibility >2, each debhelper file should ideally be prefixed with `<package>.'. See debhelper(1) for the details. HTH, Roger -- Roger Leigh ** Registration Number: 151826, http://counter.li.org ** Need Epson Stylus Utilities? http://gimp-print.sourceforge.net/ GPG Public Key: 0x25BFB848 available on public keyservers
msg06280/pgp00000.pgp
Description: PGP signature