0

I use the following command in Directadmin:

/usr/bin/wget -O /dev/null https://www.domain-name.com/index.php?parameter=extrap&task=update

Now when I send an output email, it shows connecting to the URL but without &task=update

Mureinik
  • 297,002
  • 52
  • 306
  • 350
Kuubs
  • 1,300
  • 1
  • 14
  • 42

1 Answers1

1

In *nix operating systems, which you seem to be using, & is a special character that sends the process to the background. You can escape it by quoting the URL:

/usr/bin/wget -O /dev/null "https://www.domain-name.com/index.php?parameter=extrap&task=update"
# Here --------------------^------------------------------------------------------------------^
Mureinik
  • 297,002
  • 52
  • 306
  • 350