Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AOE Scheduler Heartbeat Not Working? #10

Open
brandontamm opened this issue Feb 1, 2016 · 6 comments
Open

AOE Scheduler Heartbeat Not Working? #10

brandontamm opened this issue Feb 1, 2016 · 6 comments

Comments

@brandontamm
Copy link

@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:)

  • * * * * ! test -e /var/www/html/web/maintenance.flag && /bin/bash /var/www/html/web/scheduler_cron.sh --mode always
  • * * * * ! test -e /var/www/html/web/maintenance.flag && /bin/bash /var/www/html/web/scheduler_cron.sh --mode default

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
Copy link
Author

@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
Copy link

timrsfo commented Aug 17, 2016

@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
Copy link
Author

@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
Copy link
Author

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
Copy link

timrsfo commented Sep 12, 2016

nice, thumbs up on the pull request.

@vivekpatel111
Copy link

can you send function at least? @brandontamm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants