Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我从 cron 收到这些错误消息(当我检查邮件时)
/usr/Mytest/Log_Deleter.sh[3]: ./Log_Deleter.prop: not found.
在我的脚本中,我...
#!/bin/ksh . ./Log_Deleter.prop
我的脚本和属性文件位于 /usr/Mytest
我不确定为什么 cron 不能识别这个文件。当我从文件夹执行时,它工作正常,但我不明白它为什么会导致错误。
提前致谢!
你必须这样做:
#!/bin/ksh cd /usr/Mytest . ./Log_Deleter.prop
或者给出完整的 PATH :
. /usr/Mytest/Log_Deleter.prop
当我将表单作为 jQuery 对象的文本传递时,我无法让 jQuery 的 .submit() 在 IE 或 Firefox 中工作。
例如,以下代码在 Chrome 和 Safari 中有效,但在 IE 和 Firefox 中没有任何反应——没有错误,没有任何东西:
$('<form id="frm" action="http://www.stackoverflow.com"