andreaskoch / dockerized-magento

A dockerized Magento Community Edition 1.9.x
BSD 3-Clause "New" or "Revised" License
278 stars 144 forks source link

AOE Scheduler Heartbeat Not Working? #10

Open brandontamm opened 8 years ago

brandontamm commented 8 years ago

@andreaskoch - When I goto System > Scheduler > Job Configuration ... I get a Magento notice that "No heartbeat task found. Check if cron is configured correctly. (See Instructions)"

I went to project root on staging server and used "sudo crontab -u www-data -e" to insert the following configuration (as directed by the instructions link:)

I still got the Magento notice. Tried "sudo service cron restart" and cron was restarted. Cleared cache...Still getting the same Magento notice.

Any ideas?

brandontamm commented 8 years ago

@andreaskoch - Do you have cron running in your instance? How did you achieve it? A lot of things depend on cron and I haven't been able to get it working :(

timrsfo commented 8 years ago

@brandontamm - I am not an authority in this area but, maybe the solution is to use a cron container. I found https://github.com/fballiano/docker-magento2-cron, maybe this could help.

brandontamm commented 8 years ago

@timrsfo - I actually got this working perfect by adding funnctions for creating and updating cron entries to the install.sh script for installer container and adding a volume link to the docker-compose volume. If anyone needs help with this, I can spend some time doing a PR

brandontamm commented 8 years ago

If anyone is having this issue, check the diff file to get CRON working for AOEScheduler: screen shot 2016-09-09 at 8 53 03 am

I can create a pull request if anyone is using this project and actually wants me to :)

timrsfo commented 8 years ago

nice, thumbs up on the pull request.

vivekpatel111 commented 6 years ago

can you send function at least? @brandontamm