中国真实偷乱视频,东京道一本热中文字幕,久久精品国产99国产精品亚洲,欧美激情一区二区三区在线

Board logo

標題: [求助] cron 計劃任務問題,我的cron要求是點擊網(wǎng)站一個網(wǎng)址 [打印本頁]

作者: jt23    時間: 2013-5-8 21:17     標題: cron 計劃任務問題,我的cron要求是點擊網(wǎng)站一個網(wǎng)址

我的網(wǎng)站要設置一個計劃任務,是通過打開一個網(wǎng)址實現(xiàn)的。官方的文件是下面這樣的。我輸入哪一個都不行。請求幫助。我應該在后臺輸入什么才行呢?

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


作者: admin    時間: 2013-5-8 23:57

怎么操作的
作者: imforever    時間: 2013-5-19 01:48

回復 2# admin


   你好,計劃任務可以不是絕對路徑,而是http嗎?

另外為什么計劃任務,每次只能導入49條記錄?是不是還需要修改什么配置的呢?我通過http訪問是可以導入更多的數(shù)據(jù)的。


希望解答。!
作者: admin    時間: 2013-5-19 15:56

不明白
作者: jt23    時間: 2013-6-10 19:20

網(wǎng)站的計劃任務是讓我直接點擊一個地址。就可以實現(xiàn)自動任務了
網(wǎng)站的要求是這樣的。

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

我都嘗試過。但是都不行。
你在計劃任務中,要求的是絕對路徑。這種http的不行。保存不成功。
@admin




歡迎光臨 WDlinux官方論壇 (http://ahbydz.com/bbs/) Powered by Discuz! 7.2