2.12.6. Launch script via wget

If you need to add a task to launch a script via wget, do it like this:

/usr/bin/wget -t 1 -O - https://example.com/script.php

If the URL contains GET parameters, enclose it in single quotes:

/usr/bin/wget -t 1 -O - 'https://example.com/script.php?p1=a&p2=b'
When adding or editing a cron task, instead of a command, you can simply specify the desired URL, and when you save the changes, the system will automatically generate a standard wget command with this URL in single quotes.
Content

    (3)