cancel
Showing results for 
Search instead for 
Did you mean: 

how to run cronjob in magento 2 localhost mac osx sierra

how to run cronjob in magento 2 localhost mac osx sierra

hi can anyone help me, i installed Magento files in library/webserver/documents/ on mac OS x sierra, and everything is perfectly fine, can somebody help me how to run a cron job in my Localhost installation? take note: I'm not using MAMP or XAMMP, thanks in advance and  godless

2 REPLIES 2

Re: how to run cronjob in magento 2 localhost mac osx sierra

If you want to trigger cron manually, you can just run command in command line 2 times:

bin/magento cron:run

First time will generate schedule and second one will run cron jobs. 

 

If you want to setup cron in your system, you should remember that mac osx is kind of unix, and you can configure cron, like in this article:
http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-cron.html

Re: how to run cronjob in magento 2 localhost mac osx sierra

I actually had to run

php bin/magento cron:run