Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Practical cron jobs

  • 02-12-2014 09:25AM
    #1
    Registered Users, Registered Users 2 Posts: 99 ✭✭


    Does anyone have any practical or clever 'outside of the box' ideas they use cron jobs for?


Comments

  • Moderators, Computer Games Moderators, Technology & Internet Moderators Posts: 19,242 Mod ✭✭✭✭L.Jenkins


    Sadly I only use it for work, but maybe you could schedule a job that runs a script, which will email you the football results.


  • Registered Users, Registered Users 2 Posts: 23,212 ✭✭✭✭Tom Dunne


    When I was teaching students about cronjobs, I made them set a cronjob to e-mail me a Christmas greeting at 4:00am on Christmas morning (this wasn't in Ireland, so the novelty factor actually made it interesting).

    It all went well apart from one student didn't get it to work so actually got out of bed on the day in question to send me the e-mail, totally missing the point of the exercise. :D

    True story.


  • Moderators, Computer Games Moderators, Technology & Internet Moderators Posts: 19,242 Mod ✭✭✭✭L.Jenkins


    Tom Dunne wrote: »
    When I was teaching students about cronjobs, I made them set a cronjob to e-mail me a Christmas greeting at 4:00am on Christmas morning (this wasn't in Ireland, so the novelty factor actually made it interesting).

    It all went well apart from one student didn't get it to work so actually got out of bed on the day in question to send me the e-mail, totally missing the point of the exercise. :D

    True story.



  • Registered Users, Registered Users 2 Posts: 20,201 ✭✭✭✭jimgoose


    Tom Dunne wrote: »
    When I was teaching students about cronjobs, I made them set a cronjob to e-mail me a Christmas greeting at 4:00am on Christmas morning (this wasn't in Ireland, so the novelty factor actually made it interesting).

    It all went well apart from one student didn't get it to work so actually got out of bed on the day in question to send me the e-mail, totally missing the point of the exercise. :D

    True story.

    Well I'd say that was a valuable lesson illustrating why cron was written in the first place! :pac:


  • Registered Users, Registered Users 2 Posts: 11,264 ✭✭✭✭jester77


    I have a somewhat dodgy router (drops connections once in a blue moon and needs a reboot). I have a cron job running on a raspberry pi that checks for this and automatically reboots the router for me when this happens.


  • Advertisement
  • Closed Accounts Posts: 13,404 ✭✭✭✭sKeith


    I have a cron job on my always on raspberrypi which runs every 30 minutes and wgets a special web address on afraid.freedns website which updates my dynamic dns record.


Advertisement