LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 901|回复: 3

为什么at now + 2 minutes </sbin/service sshd start执行出错?

[复制链接]
发表于 2006-12-21 00:20:43 | 显示全部楼层 |阅读模式
错误提示:
Last Token Seen: s
Garbled Time.
发表于 2006-12-21 00:38:35 | 显示全部楼层
looks like it doesn't treat the argument as "argument". You might just put it in a file or use the at shell.
回复 支持 反对

使用道具 举报

发表于 2006-12-21 09:27:52 | 显示全部楼层
echo '/sbin/service sshd start' | at now + 2 minutes

< 後面要接的只能是 file ,不能是命令。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-21 10:35:37 | 显示全部楼层
问题解决!
谢谢楼上两位
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表