Linux.com

Author Message
Joined: Jul 30, 2008
Posts: 1
Other Topics
Posted Jul 30, 2008 at 1:21:43 AM
Subject: at and cron daemons
I know that these two daemons can be used to schedule commands. The at daemon schedules the command for once in the future and the cron schedules the command to be executed repeatedly in the future. Can someone give me examples of tasks I can automate through the use of the at or cron daemons? Also, what can I compare these to in Windows? I am completely new to Linux.
Back to top Profile Email Website
Johannes Truschnigg

Joined Jun 15, 2008
Posts: 27

Other Topics
Posted: Jul 30, 2008 12:55:25 PM
Subject: at and cron daemons
A typical use for cron would be: On every 15th and 30th of any month, call script `backup.sh`, which backs up /some/directory/ and uses `scp` to securely propagate that backup over the network to a given remote server, and dispatch and email containing a status report of the operation's success to admin Bill by mail. A typical use for at would be: Reboot this machine tomorrow at 02:00am local time, so I don't have to get up that early in the morning to do so manually. I believe the Windows built-in "Windows Task Scheduler" offers some of the functionality that crond and atd offer.

Free software. Free society. Better lives.

Back to top Profile Email Website
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya