Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

PHP CURL will help you to deal with links.

http://php.net/manual/en/book.curl.php

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" http://loki09.mpi-sws.mpg.de/bb//glasnost.phpBut, I don't think this works, the test wasn't initiated. ` –  user76087 Apr 6 '11 at 5:35

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.