anacron - cron-like program that doesn't go by time

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Main amd64
Package name: anacron
Package version: 2.3
Package release: 23
Package architecture: amd64
Package type: deb
Installed size: 180 B
Download size: 26.51 KB
Official Mirror:
Anacron (like "anac(h)ronistic") 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. When installed and configured properly, Anacron will make sure that the commands are run at the specified intervals as closely as machine uptime permits. This package is pre-configured to execute the daily jobs of the Debian system. You should install this program if your system isn't powered on 24 hours a day to make sure the maintenance jobs of other Debian packages are executed each day.



  • pe


    Binary package: anacron_2.3-23_amd64.deb
    Source package: anacron

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install anacron deb package:
      # sudo apt-get install anacron


    • /etc/anacrontab
    • /etc/apm/event.d/anacron
    • /etc/cron.d/anacron
    • /etc/cron.daily/0anacron
    • /etc/cron.monthly/0anacron
    • /etc/cron.weekly/0anacron
    • /etc/default/anacron
    • /etc/init/anacron.conf
    • /etc/init.d/anacron
    • /lib/systemd/system/anacron-resume.service
    • /lib/systemd/system/anacron.service
    • /usr/lib/pm-utils/power.d/anacron
    • /usr/lib/pm-utils/sleep.d/95anacron
    • /usr/sbin/anacron
    • /usr/share/doc/anacron/README.Debian
    • /usr/share/doc/anacron/README.gz
    • /usr/share/doc/anacron/TODO
    • /usr/share/doc/anacron/changelog.Debian.gz
    • /usr/share/doc/anacron/copyright
    • /usr/share/man/man5/anacrontab.5.gz
    • /usr/share/man/man8/anacron.8.gz


    2014-12-28 - Ivo De Decker <> anacron (2.3-23) unstable; urgency=medium * Team upload. * Add IgnoreSIGPIPE=false to anacron.service (Closes: #771393) * Add anacron-resume.service file to make sure anacron also runs at resume when running under systemd (Closes: #744753)

    2014-09-25 - Peter Eisentraut <> anacron (2.3-22) unstable; urgency=low * Recommend virtual package "cron-daemon" (closes: #752509) * Remove archaic version restriction on cron dependency

    2014-06-21 - Peter Eisentraut <> anacron (2.3-21) unstable; urgency=low [ Dimitri John Ledkov ] * Respect DEB_HOST_GNU_TYPE when selecting CC for cross-compiling. [ Peter Eisentraut ] * Change Vcs-* URLs to canonical locations * Update standards version * Remove obsolete update-rc.d arguments (closes: #733299)

    2013-12-27 - Laurent Bigonville <> anacron (2.3-20) unstable; urgency=medium * Team upload. [ Peter Eisentraut ] * Remove mention of LOGNAME environment variable from man page. It is not implemented. [ Shawn Landden ] * add systemd anacron.service (Closes: #688665) [ Laurent Bigonville ] * debian/anacron.service: - Serialize execution of jobs (like when started by the initscript) - Do not print output on stdout, this duplicates the messages in the logs - Run after the time-sync target - Only start the service if we are on AC power * debian/README.debian: Explain how to run anacron on battery with systemd

    2012-05-22 - Peter Eisentraut <> anacron (2.3-19) unstable; urgency=low * Move source format to 3.0 (quilt) with single-debian-patch (adapted from Russ Allbery's packages) * Add native upstart support (patch from Steve Langasek) (closes: #671446) * Don't bother with starting anacron on install, since it will be started soon from cron or at boot (helps upstart support).

    2012-04-22 - Peter Eisentraut <> anacron (2.3-18) unstable; urgency=low * Set charset in mails sent by anacron based on system locale, adapted from Debian cron package (closes: #602376) * Fix file descriptor leak (closes: #573387)

    2012-03-29 - Peter Eisentraut <> anacron (2.3-17) unstable; urgency=low * Add /etc/default/anacron to configure whether anacron should run on battery power (closes: #426294) * Set update-rc.d stop runlevel arguments to empty, to match LSB Default-Stop * Add Homepage control field * Don't run anacron jobs under nice (closes: #373950) * Set HOME and LOGNAME in default anacrontab, to get consistent environment (closes: #297678, #398819)

    2012-03-11 - Peter Eisentraut <> anacron (2.3-16) unstable; urgency=low [ Peter Eisentraut ] * Updated standards version * Fixed spelling in anacrontab man page * Added watch file. Kind of pointless, since upstream is abandoned, but to make all the nagging tools happy. * Removed inappropriate comments from pm-utils scripts, originally copied from apm script [ Simon Ruderich ] * Updated to debhelper level 9, thus enabling hardening flags (closes: #661012) * Fixed "implicit declaration of function" warnings which are necessary for fortify source * Fixed makefile to append to CFLAGS instead of overwriting

    2012-02-19 - Peter Eisentraut <> anacron (2.3-15) unstable; urgency=low * Use dh for building * Use dh_installcron for installing all cron jobs * Updated standards version * Removed unnecessary entries from debian/dirs * Set init.d Default-Stop to empty (closes: #563834) * Add Description field to init.d