原帖由 minarvin 于 2009-6-23 17:42 发表
谢谢大家的回复!问题找到了
"at" takes commands as standard input.
用
echo "/var/monitor/bin/sendsm -h 10.19.×.× 1385415×××× 'hello' 1>/dev/null 2>/dev/null"|at now + 1 minutes
工作正常, ...
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |