Christian Weisgerber wrote on 2017/06/07 22:18:
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 numeric prefix is for ordering: 000 start as first, 999 last. Similar actions should be run consecutively. For example all daily status checks are numbered 4xx, all daily cleanups are 1xx. So if some port installs periodic for cleanup it should be named 1xx.name too.

The "name" is usually the port name, but some ports can install more than one periodic scripts or the name of the port is not so descriptive as some different name.

Miroslav Lachman
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to