使用centos 版本 2.6.32-504.el6.i686
运行 at now + 2 minutes
2分钟后收到报错的邮件
Return-Path: <root@sunny.localdomain>
X-Original-To: root
Delivered-To: root@sunny.localdomain
Received: by sunny.localdomain (Postfix, from userid 0)
id B799A80D7D; Fri, 2 Oct 2015 10:34:03 +0800 (CST)
Subject: Output from your job 6
To: root@sunny.localdomain
Message-Id: <20151002023403.B799A80D7D@sunny.localdomain>
Date: Fri, 2 Oct 2015 10:34:03 +0800 (CST)
From: root@sunny.localdomain (root)
sh: line 37: syntax error near unexpected token `=\(\)\ {\ \ eval\ \`/usr/bin/modulecmd\ bash\ \$\*\`""}'
sh: line 37: `"}; export BASH_FUNC_module()'
google了一下,说是at的bug,那就yum update at进行更新,解决问题