---
name: anacron
version: 2.3_4
origin: sysutils/anacron
comment: Schedules periodic jobs on systems that are not permanently up
arch: freebsd:10:x86:64
www: http://sourceforge.net/projects/anacron
maintainer: dz@426.ch
prefix: /usr/local
licenselogic: single
flatsize: 27678
desc: |
  Anacron is a periodic command scheduler.  It executes commands at
  intervals specified in days.  Unlike cron, it does not assume that the
  system is running continuously.  It can therefore be used to control
  the execution of daily, weekly and monthly jobs (or anything with a
  period of n days), on systems that don't run 24 hours a day.

  Anacron is not an attempt to make cron redundant.

  Requirements
   - A functioning syslog daemon.
   - A functioning /usr/sbin/sendmail command.  (all MTAs should have that).

  WWW: http://sourceforge.net/projects/anacron
categories:
- sysutils
message: |2+

  Configuration hints:
  - Edit /usr/local/etc/anacrontab
  - Deactivate the 'periodic' commands in /etc/crontab
  - Add a call to anacron to /etc/crontab, like
    0  0  *  *  *    root    /usr/local/sbin/anacron
  - Add anacron_enable="YES" to /etc/rc.conf
  - Read anacron(8) and anacrontab(5)

