[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#340822: small mistake in /etc/cron.d format file quick description




Package: debian-policy
Version: 3.6.2.1
Severity: minor

********* Description :

	there is a small mistake in /etc/cron.d format file quick description
	at 9.5 in http://www.debian.org/doc/debian-policy/ch-opersys.html

 	it is said that 'This file uses the same syntax as /etc/crontab'

	which is wrong because you have to insert the username between date specif and
	program to run like :

		* * * * * root /usr/sbin/do-it

	cf cron manual :
	DEBIAN SPECIFIC
       		cron treats the files in /etc/cron.d as extensions to  the
       		/etc/crontab  file (they follow the special format of that
       		file, i.e. they include the user field)....

***** remplacement suggestion :

9.5 Cron jobs
[...]
/etc/cron.d/package. This file uses the same syntax as /etc/crontab and is processed by cron [...]

	should be replaced by somethnig like :

/etc/cron.d/package. This file uses nearly the same syntax as /etc/crontab with a user file inserted before the command (like "* * * * * root /usr/sbin/command")


	thank you very much !

	LF.

--
Laurent FACQ - facq@u-bordeaux.fr - 05.40.00.65.34 - Reseau REAUMUR / Bordeaux
		       http://facq.reaumur.net

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: