v3.0 Fetch command

Hi guys,

I’m having major trouble getting this script to work. It initially worked on v3.0RC4 however on the new versions (RC5 to RC9) the script will only run 1 in 20 tries.

The script is as follows:

/tool fetch address=192.168.1.1 host=dnsupdate.example.com path="update.php?name=test&pass=test"

NB: The IP and host values have been changed for secuirity reasons.

If I run the script from the Terminal it works perfectly. (Checking the HTTP access logs on the server confirm this).
If I run the following code it also works perfectly:

/system script run DNSUpdate

(“DNSUpdate” is the name of the script.)

However when I run the script via the Scheduler or via the “RUN Script” button in winbox the script attempts to connect to the server in question but doesn’t complete. Torch shows the connection being made… but my HTTP access logs show nothing.

Does anyone have any ideas? Thanks in advance! :slight_smile: