Hot answers tagged

2

You definitely can replace the cron job with a timer. The main disadvantages to using one would be, that setup is a bit more complex and it not being a standard implementation. Note: I haven't tested the following and don't have a ton of experience with timers, but should atleast point you in the right direction. Creating a Systemd Timer Create a file at /...


2

Log in to the Magento database on the command line and enter SELECT * from cron_schedule;.


1

It's a php version compatibility issue with the code Rewrite ['in' => $ids] To array('in' => $ids)


1

The cron is run on an Application level rather than a Website level. What i mean by that is, a single crontask needs to be able to handle all website / store views. So you can either add an entry into the system config where you can set a website id and pull that into the crontask. Or iterate all the websites likes so. $websites = $this->storeManager-&...


1

Update index Group from admin that runs twice per day Store >> Config >> Advanced >> System >> Cron


1

The short (and obvious) answer is that rather than your indexes being updated every minute they will only be updated twice daily. What that side affects of that will be for you I guess depends on the website and concurrency of users / frequency of change. I haven't done this myself so I can't be sure but based on my understanding here are a few examples of ...


Only top voted, non community-wiki answers of a minimum length are eligible