Jump to content


Photo

Cool Cron examples


  • Please log in to reply
3 replies to this topic

#1 gerkintrigg

gerkintrigg

    Book Publisher

  • Members
  • PipPipPip
  • 816 posts
  • LocationPlymouth, UK
  • Age:33

Posted 31 July 2012 - 07:01 AM

Hi,
I wanted to start this thread to ask what kind of cool things do you / could you do with Cron?

We use it to backup our database but that's boring! What else could we do?

Examples:
Letters from Santa sent on the first day of December
Email Auto-Responder (save yourself the AWeber subscription fee)

Any others?

Neil Trigger - http://www.ghostlypublishing.co.uk - Ghostly Publishing - Children's Fantasy Books

#2 phpfreak

phpfreak

    Advanced Member

  • Administrators
  • 527 posts
  • LocationEverywhere!

Posted 21 September 2012 - 07:42 PM

I like to do backups via cron.

*/5 * * * * * /scripts/mybackup.sh > /dev/null

Party!
Eric 'phpfreak' Rosebrock
Got LAMP?
http://www.Phpfreaks.com Founder

#3 Phear46

Phear46

    Advanced Member

  • Members
  • PipPipPip
  • 30 posts

Posted 29 April 2013 - 01:19 AM

Auto update and shutdown

#4 txmedic03

txmedic03

    Advanced Member

  • Members
  • PipPipPip
  • 313 posts
  • LocationCall, TX, USA

Posted 26 June 2013 - 02:52 AM

make sure services restart if they crash, periodic restart of server, load services on reboot or shortly there after...


SEMPER FIDELIS!

I can't stop you from doing something silly, but at least I can help you do it right.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com