Using a curl scheduled task in windows

0

1

I am using the following command in a scheduled task in windows to update my IP to the free Dynamic DNS service called EntryDNS:

curl.exe -k -X PUT -d "" "Their url API string here"

The problem I am having is curl is opening a terminal every time the command executes. Is there a switch or way to get curl to run "silently" or in a non verbose way where a terminal will not show?

EDIT: I have tried using both -s -S switches. (-sS too)

DeanMWake

Posted 2015-06-14T14:18:14.573

Reputation: 135

Answers

1

cURL is a console application so it will cause a command prompt window to show up, however briefly.

What you can do is use Hidden Start to invoke cURL in turn:

1

2

Karan

Posted 2015-06-14T14:18:14.573

Reputation: 51 857