Cron Vs Anacron: How to Setup Anacron on Linux (With an Example)
Posted on: 05/10/2011 10:40 AM

The Geek Stuff shows you how to setup Anacron on Linux

Cron Vs Anacron: How to Setup Anacron on Linux (With an Example)


Anacron is the cron for desktops and laptops. Anacron does not expect the system to be running 24 x 7 like a server. When you want a background job to be executed automatically on a machine that is not running 24 x 7, you should use anacron.

For example, if you have a backup script scheduled everyday at 11 PM as a regular cron job, and if your laptop is not up at 11 PM, your backup job will not be executed. However, if you have the same job scheduled in anacron, you can be sure that it will be executed once the laptop come back up.



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/cron_vs_anacron_how_to_setup_anacron_on_linux_with_an_example.html)