|Topic Review (Newest First)|
|03-22-2018 11:48 PM|
|11-23-2017 06:22 PM|
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
link to zipped jar file on google drive:
|11-23-2017 04:52 PM|
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|
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|
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|
I'm not sure. On Linux it would be
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|
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.|