Naming convention for etc/periodic/*/* files?

Matthew Seaman matthew at FreeBSD.org
Wed Jun 7 21:05:26 UTC 2017


On 07/06/2017 16:18, Christian Weisgerber wrote:
> What is the naming convention for etc/periodic/*/* files installed
> by ports?
> 
> Looking over the ports tree, I see that most adhere to the
> NNN.*name* pattern also used in the base system, although it's
> unclear how the NNN numbers are assigned and the rest of the name
> is somewhat flexible.
> 
> The lone exception is sysutils/smartmontools, which installs
> etc/periodic/daily/smart.

The NNN.name pattern is just to provide some order or execution of the
periodic jobs.  So long as the script name is globally unique there's no
concern about having multiple jobs with the same numeric prefix, or no
numeric prefix at all.

	Cheers,

	Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20170607/4710bef0/attachment.sig>


More information about the freebsd-ports mailing list