Server Fault is a question and answer site for system and network administrators. 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 click on a test like this (the "start testing" button) every hour so I can get a hourly result (results are saved on the server side). Basically what happens is that I connect with a server to them and they send me a java applet (GlasnostReplayer.jar) that runs in my browser. If I do have the jar file and run java -jar GlasnostReplayer.jar, I get Failed to load Main-Class manifest attribute from ... .jar. (Besides, I think I need the connection to the server before I run the applet, and not just run the applet on my side). How can I achieve such a task? Thanks in advance!

share|improve this question

PHP CURL will help you to deal with links.

share|improve this answer
Hmm, I see now that I need to write something with php/curl then use crontab to run that hourly. That's one big step in the right direction. I'm new to curl and php, I don't know where to start. Can you give me a guide? further details for what I'm trying to accomplish? and curl would let me actually run the test after the click? thanks! – user76087 Apr 6 '11 at 3:03
Would this be right? curl -d "measure=yes&repeat=3&duration=20&down=yes&up=yes&port=0&port2=0&protocol1=BitTo‌​rrent", I don't think this works, the test wasn't initiated. ` – user76087 Apr 6 '11 at 5:35

Your Answer


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.