Overclock.net - An Overclocking Community - Reply to Topic

Thread: Need to run URL without opening browser Reply to Thread

Register Now

In order to be able to post messages on the Overclock.net - An Overclocking Community forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.
User Name:
If you do not want to register, fill this field only and the name will be used as user name for your post.
Please enter a password for your user account. Note that passwords are case-sensitive.
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:


  Additional Options
Miscellaneous Options

  Topic Review (Newest First)
03-22-2018 11:48 PM
spinFX bump
11-23-2017 06:22 PM
spinFX Hey dseg, made a simple java app that can do what you want. (just need to have java8 installed (1.8 latest))

Basically choose http or https,
enter a URL you want to request (ie. www.google.com),
enter the interval of the requests in minutes,
and click start.
Then you can click the x to minimize to system tray so it doesn't bother you.

It logs the successful requests so you can see its running.

I'll put the source code on github in a sec in case you are worried it is doing something suspicious tongue.gif

link to zipped jar file on google drive:
11-23-2017 04:52 PM
gonX Use cURL:

The command is really easy "curl <address>"

Use Windows' own Task Scheduler to run this periodically.

/e: wget will also work, but cURL is more flexible if you ever need to go outside HTTP/FTP territory.
11-22-2017 11:51 PM
Tjj226 Angel Could you run the browser in headless mode?
11-15-2017 02:15 PM
Zer0CoolX Have you spoken to the manufacturer of the camera to see what your options are? Maybe they have a tool to accomplish this already or another way to trigger the function.

Also it may help if we knew the make/model of the cameras and the function you are trying to trigger.

On windows I think its possible to open a url in a browser and at least keep it minimized. You could then create a scheduled task to fire it off at whatever interval you like.

Once triggered, does the function require that the url/browser stay open to complete?

EDIT: to clarify are you on Windows or Linux from which you need to do this?
11-15-2017 02:11 PM
Originally Posted by jakethesnake438 View Post

do you need to do anything with the result from the server?

No, executing the URL runs a function on the camera. I would just need it to run with zero output.
11-15-2017 12:37 PM
jakethesnake438 do you need to do anything with the result from the server?
11-15-2017 08:47 AM
mott555 I'm not sure. On Linux it would be
wget yourUrlHere > /dev/null 2>&1

which would contact that URL and ignore the HTML that comes back (wget normally downloads the results and saves them to a local file). If you use Cygwin on Windows it ought to be pretty similar.
11-15-2017 08:27 AM
Originally Posted by mott555 View Post

Can you use wget? I assume there's a Windows version via Cygwin or something.

I found that suggestion too:

Do you know what my full code would be?
11-15-2017 07:20 AM
mott555 Can you use wget? I assume there's a Windows version via Cygwin or something.
This thread has more than 10 replies. Click here to review the whole thread.

Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off