Provide a sample cronjob

This commit is contained in:
Dan Langille 2017-09-13 15:11:04 +00:00
parent 5b9c91a08f
commit 66b723af7f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449799
2 changed files with 14 additions and 0 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= acme.sh
PORTVERSION= 2.7.4
PORTREVISION= 1
CATEGORIES= security
MAINTAINER= dvl@FreeBSD.org

View File

@ -16,4 +16,17 @@ included are the deploy scripts.
A newsyslog.conf sample file is provided at %%EXAMPLESDIR%%/acme.sh
and you could create a symlink from that to %%PREFIX%%/etc/newsyslog.conf.d/
Your sample cronjob looks like this:
############################################################################
$ sudo crontab -l -u acme
# use /bin/sh to run commands, overriding the default set by cron
SHELL=/bin/sh
# mail any output to here, no matter whose crontab this is
MAILTO=dan@example.org
7 22 * * * /usr/local/sbin/acme.sh --cron --home /var/db/acme/.acme.sh > /dev/null
############################################################################
Change x & y to some minute and hour of the day.