ACPI administration advocacy advocacy advocacy opinion apache audio authentication bash cache calendar commandline cron database debian desktop development disk dvd economics emacs email exim files firefox firewall flash foss freedom ftp fun grub hardware hardware html images installation ipod kde knoppix laptop latex longlines mplayer multimedia mysql network nfs openoffice opinion opinion pdf perl php politics postgresql printing rant script scripting scsi security shell sitenews skype skype slackware spam ssh subversion svk swap t23 t43 text thinkpad thunderbird time ubuntu users video windows wine wordpress wordprocessing xwindows xwindows youtube
I used to never give a thought to cron. Now, I think, it's the best thing since sliced bread.
It's one of those simple little software tools that just sits on your hard drive and goes about its work silently in the background with barely a complaint.
Usually, a slew of cron jobs are installed when you install your Linux system. These jobs, rotate log files, clear caches and mail queues.
But cron isn't just for the installers to worry about, it's also a useful tool for you to use in your day-to-day.
Here are five things that can be done with cron:
0 22 * * * rsync -a --delete ~/Maildir/ ~/backup/Maildir/ This backs up my Maildir directory to a backup folder at 10 p.m. everyday. The directory ~/backup is symlink to another disk.mysqldump and pg_dump commands.Cron is a fantastically flexible tool, think creatively to see how it could help you.