我的网站要设置一个计划任务,是通过打开一个网址实现的。官方的文件是下面这样的。我输入哪一个都不行。请求帮助。我应该在后台输入什么才行呢?
Linux System
You can use one of the following commands depending on your server:
lynx -source "http://www.yourwebsite.com/index.php?option=com_acymailing&ctrl=cron" > /dev/null
Or
wget -O /dev/null "http://www.yourwebsite.com/index.php?option=com_acymailing&ctrl=cron" > /dev/null
If you access your website using an httpS protocol, you may want to use this command instead:
wget --no-check-certificate -O /dev/null "https://www.yourwebsite.com/index.php?option=com_acymailing&ctrl=cron" > /dev/null
Some hosting company block the lynx and wget command in which case you should use the curl one:
curl --silent --compressed "http://www.yourwebsite.com/index.php?option=com_acymailing&ctrl=cron" > /dev/null 2>&1