Home / Tag Archives: cron

Tag Archives: cron

June, 2010

  • 9 June

    How to Sync Two Websites on the Same Server

    Question: I have two separate websites that I want to have identical data on each site. How can I do this? Answer: First of all, to sync files on two separate sites on the same server, you will need to have a user that has write permissions on both sites. …

February, 2010

  • 17 February

    How to check and optimize MySQL databases automatically

    MySQL databases require regular maintenance, but usually the databases just need to be re-optimized and checked for errors. In such cases, having to go through each database on your server can be time consuming. Following these steps, you can setup a cron job that will automatically check and repair your …

  • 10 February

    Linux server backup to Amazon S3

    Amazon S3 is a storage service provided by Amazon.com. It is part of Amazon’s cloud computing offering, and it used by all sorts of individuals and businesses. Although anyone with a Linux server can theoretically backup their server manually to S3 storage, it helps to have a tool to do …

  • 9 February

    How to schedule a reboot on a Linux server

    Automating tasks in Linux is a pretty straightforward process, mainly because the tool used to do it comes with all Linux distributions. It is called Cron, as we mentioned in an earlier post. Cron allows you to automate all sorts of tasks, including reboots. But if you just need to …

January, 2010

  • 28 January

    Monitor disk space on a dedicated server

    Question: How can I configure a Unix server to tell me when the hard drive is getting full? Answer: Unix, Linux, and Unix-like systems have a command called “df” that reports disk space information about the server’s file system. Entering the following command: # df -P / produces output like …

November, 2009

  • 25 November

    Getting rid of crontab emails

    Question: How do I stop crontab from sending me emails after a cron job finishes? Answer: In Linux the default setting for crontab is to send an email to the owner after a cron job finishes. An easy way to change this is to reroute those emails into nothingness, which …

September, 2009

  • 10 September

    What is a Cron Job?

    Question: What is a Cron Job? Answer: A cron job is a periodic script run using scheduling software called “cron”. Linux and other Unix-like operating systems use it. A shared web hosting provider may allow you to run local user cron jobs, and those settings are usually accessible through your …