giovanni 9acaf68756 README fixes, make anacrontab(5) more similar to crontab(5) 8 سال پیش
..
DESCR 4b13299636 Initial import of anacron 2.3 21 سال پیش
PLIST 0fbf046b58 anacron(8) is not a daemon, so there's no reason to have an rc.d script. 9 سال پیش
README 9acaf68756 README fixes, make anacrontab(5) more similar to crontab(5) 8 سال پیش

README

$OpenBSD: README,v 1.4 2017/03/29 13:17:38 giovanni Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------

To start using anacron:

Create the file ${SYSCONFDIR}/anacrontab (see anacrontab(5) for
information about its format).

The following is a simple example which runs the standard
OpenBSD daily, weekly, and monthly scripts:

-----Cut
# ${SYSCONFDIR}/anacrontab example
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
HOME=/var/log
# format: period delay job-identifier command
1 5 cron.daily /bin/sh /etc/daily
7 10 cron.weekly /bin/sh /etc/weekly
30 15 cron.monthly /bin/sh /etc/monthly
-----Cut

Comment out the invocation of the corresponding jobs in root's crontab.
If your machine is left running for more than 24h at a time, you
might also want to invoke anacron from an early morning cron job.

To run anacron(8) at boot time, add the following to root's crontab(5):
@reboot ${PREFIX}/sbin/anacron -ds