Adding a cron job using curl to access a url containing & does not execute successfully, nor does it add \ in front of &

curl to access the url containing "&" must add "\" in front of "&", otherwise it will not be able to read the parameters after "&", unfortunately adding "\" in front of "&" through hestiacp web interface is not valid.

Please provide more infornation

I am going to close the GitHub issue

In the timed task using curl can not get the parameters after the URL &, you need to add \ in front of &

v-add-cron-job luren * * * * * sudo curl https://xxxxxxx.com/cron/wztask.php?sys=1&key=673007
I can’t add \ in front of the & in the above URL, and the same problem is with the timed tasks in the web interface

Use:
β€œhttps://xxxxxxx.com/cron/wztask.php?sys=1&key=673007”

1 Like