Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do you use cron? I have just started using it for backups, but it is a tool that should have a large number of applications. I would be interested in learning how different people use cron.

share|improve this question

migrated from Nov 21 '10 at 16:26

This question came from our site for professional and enthusiast programmers.

Some interesting uses?

  • Well, I used to use it on contracts to automatically submit an identical timesheet every week, because I was always working on the same tasks (and roughly the same hours). It saved me from having to put up with painful, unnecessary, timesheet applications.

  • We also used it to build a rudimentary mail-based status reporting application in a very tightly locked down, tiered network environment. Rather then suffer through all the pain of punching holes through the firewall, we used cron/ftp to forward "messages" which were then put into email form once we'd gotten them out of the secure area.

share|improve this answer

Anything that needs to occur on a regular basis.

  • Running the code that charges monthly subscription fees
  • Checking if other servers are up
  • Rotating log files
  • Pruning database tables of old data
  • Sending daily and weekly email reminders to users
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.