我有如下所示的 cron 作业,并希望它每 2 小时运行一次,但它每 2 分钟运行一次。
有人能告诉我我哪里出错了吗?
* */2 * * * /path-to-script
Run Code Online (Sandbox Code Playgroud) 嗨,我想知道是否有人可以提供帮助。我从我的主机公司收到一封电子邮件,说我的服务器有一些奇怪的流量。快速查看日志文件显示了下面的示例日志。日志文件中有数千封电子邮件。
有人可以建议我如何阻止所有从我的 Linux 服务器发送的电子邮件。如果有帮助,我使用的是 Ubuntu 12.03 LTS。
Jan 31 09:52:30 myserver postfix/smtp[55852]: 03EC14869A: to=<QAnne-Pascale.Targe@ciera.ulaval.ca>, relay=exch-spam02.ulaval.ca[132.203.244.24]:25, delay=229193, delays=229193/0.17/0.47/0, dsn=4.0.0, status=deferred (host exch-spam02.ulaval.ca[132.203.244.24] refused to talk to me: 554-exch-spam02.ulaval.ca 554 Your access to this mail system has been rejected due to the sending MTA's poor reputation. If you believe that this failure is in error, please contact the intended recipient via alternate means.)
Jan 31 09:52:30 myserver postfix/smtp[55870]: connect to cluster8.us.messagelabs.com[216.82.241.132]:25: Connection refused
Jan 31 09:52:30 myserver postfix/smtp[55849]: 5049348710: to=<Qst-onge.mathieu.3@courrier.uqam.ca>, relay=mail3.uqam.ca[132.208.246.162]:25, delay=229188, …Run Code Online (Sandbox Code Playgroud)