View Single Post
  #2  
Old January 15th 19, 03:21 PM posted to alt.comp.os.windows-10
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default How do I access a webpage in task scheduler?

Mike wrote:
How do I access a webpage in task scheduler?

The root problem is that the FREEDNS updater doesn't work in windows 10.

I can check and update the URL to Dynamic IP address map directly with:

http://freedns.afraid.org/dynamic/up...j-REDACTED-DA0

The browser gives me indication of the current external IP address
and whether it has changed.

I'd like to do it on a schedule.

In task scheduler, I just put that whole line in the action box.
When it runs, it pops up a box asking which web browser I want.
I have Opera set as the default browser...it recognizes that, but
still asks for comfirmation. It does what I want except for the
manual intervention required to select the browser.

If I put "C:\Program Files\Opera\launcher.exe" in the program box
and the above line in the arguments line, the page opens, but the
scheduled task stays running after I close the page...and the browser.
++++++++++++++++++++++++++++++++++++++++
I found this:
https://www.instructables.com/id/Fre...ows-10-x32x64/


install MS C++ 2015 redistributable x64
Run 64bit updater
put the direct link URL in the config file.

but it gives me a "connection refused" message in scheduled tasks.
++++++++++++++++++++++++++++++++++++++++++++++++++ ++
I took a quick look at wget and curl, but there's gotta be an easier
way.
I plan to do this only once.

How do I run the above http... on a schedule and terminate the
process when done? Ideally, it would update silently in the
background.


Have you set an "account" for the scheduled task ?

The browser "profile" folder is related to some user account.

By default, Task Scheduler runs a task as SYSTEM, which
might not be desired in this case.

You can try changing the scheduled task to USERNAME account,
then run

firefox URL

kind of thing.

At a guess,
Paul
Ads