Super User is a question and answer site for computer enthusiasts and power users. 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

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

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .