The Linux Cron. An invaluable tool to do all those little jobs that you simply can’t be bothered to remember to do.
Essentially, the Linux Cron utility is a scheduler, capable of executing various scripts and tasks in a system background without intervention from the system user. Naturally, this makes it invaluable in terms of running all those routine maintenance jobs that you require, happily chugging away while you perhaps move on to more important things like reading comic books for example.
Now being a newbie to Linux servers in general, I needed more than a little help to set up a cron task just to push some data from the local machine across to a different host the other day, and thankfully I ran across a great little cron tips and tricks page from Ramesh Natarajan on his site The Geek Stuff.
Damn useful, it quickly got me on the right path and now so as in order not to forget it for future reference, I proudly immortalise it by linking to it here:
- Linux Crontab: 15 Awesome Cron Job Examples
Read it. It could be useful if you’re a bit in the dark like I once was…
Related link: http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/
You might also enjoy:
-
To generate a back up of a crontab file is actually pretty simple, making use of the built in -l switch that comes with the command: sudo crontab -l > ~/ ...
-
After making changes to your crontab file, be it the sudo or standard version of the file, you will need to restart the appropriate cron service. The comman ...
-
By default, cron actions that produce output generates emails that get sent to the system administrator. If we don't particularly want this behaviour, we ne ...
-
There are a variety of ways you can make private your Apache-driven web content, but without a doubt the most common way is simply to add a .htaccess file i ...
-
Now here's a nifty little website that I stumbled across thanks to a tip from the ever watchful Merkaba: AlternativeTo, a site that aims to provide you the ...