我正在使用Aptana Cloud,但没有root权限。Crontab不运行带有参数的url的Wget
WORKS:
* * * * * /usr/sfw/bin/wget -qO- ' http://myproject.aptanacloud.com/myproject/myphp.php ' | /bin/mail [email protected]
不起作用!:
* * * * * /usr/sfw/bin/wget -qO- ' http://myproject.aptanacloud.com/myproject/myphp.php?param1=blog%2frss2.xml ' | /bin/mail [email protected]
我试图要么失败与引号,双引号或不带引号的网址。 有什么想法?
谢谢!
你如何衡量它的工作原理或者它没有?那么试试echo而不是wget? – inkredibl 2009-12-17 10:58:49
使用echo没有任何意义,问题在于如何从crontab调用wget。它的工作原理是因为我收到邮寄的结果... – Veilkrand 2009-12-18 11:11:12