Scheduling Commands with crontab
April 13th, 2009 by Shawn Powers in
Use crontab to schedule commands to run at specified intervals.
__________________________
Shawn Powers is an Associate Editor for Linux Journal. You might find him chatting on the IRC channel, or Twitter
Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer
Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.
Subscribe now!
The Latest
Newsletter
Tech Tip Videos
- Nov-04-09
- Oct-29-09
- Oct-26-09
Recently Popular
From the Magazine
December 2009, #188
If last month's Infrastrucuture issue was too "big" for you then try on this month's Embedded issue. Find out how to use Player for programming mobile robots, build a humidity controller for your root cellar, find out how to reduce the boot time of your embedded system, and if you're new to embedded systems find out the basics that go into one. You can also read about the Beagle Board, the Mesh Potato and a spate of other interestingly named items. And along with our regular columns don't miss our new monthly column: Economy Size Geek.
Delicious
Digg
StumbleUpon
Reddit
Facebook








KAlarm
On April 13th, 2009 Madhukar Kedlaya (not verified) says:
I use KAlarm which is a much better GUI based scheduler and alarm clock. I guess cron is useful if you need to save on memory and CPU.
cron writes output to your mail file
On April 13th, 2009 Fahd Shariff (not verified) says:
A useful thing to note is that if you do not redirect the stdout and/or stderr of your commands, any generated output or errors will be mailed to you.
You can look at your mail file (/var/mail/user) to see the output/errors of your commands.
This is true.
On April 13th, 2009 Shawn Powers says:
Very true, and I meant to mention it. Thanks for pointing it out. Especially with that -v flag in rsync. :D
__________________________Shawn Powers is an Associate Editor for Linux Journal. You might find him chatting on the IRC channel, or Twitter
Personally I like using
On April 13th, 2009 Vadim (not verified) says:
Personally I like using gnome schedule (http://gnome-schedule.sourceforge.net) as a frontend for cron. Easier to go with if you don't know what are you doing.
Post new comment