ACPI administration advocacy advocacy advocacy opinion alsa amarok apache apple apt aptitude audio audo authentication automount avi awk bash BIOS boot business cache calendar calibre cdr cdrecord censorship commandline computerscience console convert cron cut database date debian degree design desktop development disk dpkg dvd economics education emacs email europe exim faad ffmpeg file files firefox firewall flash foss freedom ftp fun fuse git gnumeric graphics grep growisofs grub gtkpod hardware hardware html idiocy image imagemagick images installation ip iphone ipod iptables iso itunes ivman kde kernel keyboard knoppix lame laptop latex linux locale lockin longlines m4a microsoft mimetypes minitab mount mp3 mp4 mplayer multimedia music mysql network nfs nfs4 nmap openbox openoffice opinion opinion partition pdf perl php politics postgresql printing privacy programming rant remote rhythmbox rss rsync rxvt scp screengrab screenshot script scripting scsi security sed server shell siteadmin sitenews sitesoftware skype skype slackware sound sox spam spreadsheet ssh statistics subversion sudo svk swap t23 t43 terminal text thinkpad thunderbird time timezone ubuntu udev upgrade usb usbmount users uuid versioncontrol vfat video vnc windows wine wordpress wordprocessing X40 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
~/backupis symlink to another disk.
mysqldumpand
pg_dumpcommands.
Cron is a fantastically flexible tool, think creatively to see how it could help you.