Cannot get cron to work on Amazon EC2?

后端 未结 7 1562
南旧
南旧 2020-12-09 09:49

I\'ve spent two days trying to understand why I can not get cron to work on my Ubuntu EC2 instance. I\'ve read the documentation. Can anyone help? All I want is to get a wor

7条回答
  •  醉酒成梦
    2020-12-09 10:02

    Your cron daemon is not running. When you're running ps aux | grep crond the result is showing that only the grep command is running. Be aware of this whenever you run ps aux | grep blah.

    Check the status of the cron service by running this command.

    Try:

    sudo service crond status
    

    Additional information here: http://www.cyberciti.biz/faq/howto-linux-unix-start-restart-cron/.

提交回复
热议问题