Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to make a scheduled task on my server which will visited a URL every 10 minutes.
(It's a cron job for my Drupal website, so there is no spam-alert or something :))

I've set up a task, but for some reason, the task won't go to the URL... What do I do wrong?

enter image description here

enter image description here

The URL to go to is http://www.example.com/cron.php?cron_key=azerty

When I trigger the task, Firefox won't even open and I get a status (0x1)...

share|improve this question
    
So what happens after the scheduled run time? Does Firefox launch? Does the task give an unsuccessful error code? –  uther Apr 20 '12 at 14:27
    
Sorry, I've updated my question –  Michiel Apr 20 '12 at 14:28
add comment

2 Answers

Place quotes " " around the URL in the Add arguments box.

As a side note, a full Firefox session seems to be a bit of a resource hog just hit a URL every ten minutes. Have you considered a text browser, such as elinks?

share|improve this answer
    
Thanks. I'll add the quotes. What do you mean by elinks? Because the link you gave is a 404... –  Michiel Apr 20 '12 at 15:30
    
I updated the URL. Here it is directly. paehl.com/open_source/?TextBrowser_for_Windows –  uther Apr 20 '12 at 15:32
    
And it will just go to the url in stead of opening a Browser session? –  Michiel Apr 20 '12 at 15:35
    
It does open a browser, but it's text based browser. It opens in a command prompt window. The benefit is lower memory consumption. –  uther Apr 20 '12 at 15:37
    
Ok, great! I'll try it when I get back to the office! I'll get in touch. Thanks –  Michiel Apr 20 '12 at 15:39
add comment

According to Mozilla, your command-line syntax is not correct. See https://developer.mozilla.org/en/Command_Line_Options

share|improve this answer
    
I don't see what's wrong... –  Michiel Apr 23 '12 at 10:43
add comment

Your Answer

 
discard

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.