【发布时间】:2012-06-16 04:44:45
【问题描述】:
在带有 Ubuntu 的 AWS 上;无法使用 crontab 重新启动 mysql: 我在脚本中尝试了以下命令:
service mysql start
/etc/init.d/mysql restart
我得到的错误是:
exec: 129: start: not found
/etc/init.d/mysql: 85: start: not found
exec: 129: restart: not found
如果我从提示符运行,所有这些都可以正常工作;但从 crontab 失败
【问题讨论】:
标签: mysql ubuntu cron amazon-web-services