2

I own a lightweight blog hosted on GoDaddy. I could not get cron to automatically run, so I manually run it when necessary.

How should I configure cron tasks to make them automatically run on GoDaddy?

2
  • 2
    Always be independent from your hosting provider. What if you need to move to another provider tomorrow..
    – user931
    Mar 3, 2011 at 2:04
  • @SachinShekhar but there is a way to set up cron
    – niksmac
    Jan 18, 2013 at 12:55

2 Answers 2

6

I don't have much experience with GoDaddy (I prefer BlueHost), but you could use the PoormansCron module instead of running it manually. Also, if you update to Drupal 7 this is included in core.

2
  • PoormansCron works really well for exactly that situation.
    – epersonae
    Mar 2, 2011 at 23:48
  • +1 In Drupal 7, cron job is triggered by site visits. So, cron job schedule is independent from TOS of hosting provider.
    – user931
    Mar 3, 2011 at 2:12
2

I used to use GoDaddy shared hosting and I had cron working with Drupal for a long time. I have since changed hosts so I can't lookup what my exact settings were. However it was something like this:

curl --silent --compressed http://www.example.com/cron.php

3
  • Please explain more. Where to add this code ? Looks like i need to execute it manually like a cron bot ;) ?
    – niksmac
    Jan 18, 2013 at 12:52
  • @NikhilM - Sorry, since I no longer use GoDaddy I have no more details
    – Greg
    Jan 18, 2013 at 15:15
  • this not a real answer.
    – niksmac
    Jan 19, 2013 at 3:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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