简体   繁体   中英

Magento cli command not executing

I am trying to execute the php bin/magento cron:run command in my gitbash but its not executing like all the other commands i use (list, setup:upgrade etc.)

It keeps staying like this;

在此处输入图片说明

As you can see i am using Xampp 7.0.15. I also tried to add --group="groupname" but gives me the same.

Any idea what it could be?

Open CMD

goto C:\xampp7\php // Wherever your PHP is located.

Now run the command like

php C:\xampp7\htdocs\mymagento2\bin\magento cron:run

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM