Questions tagged [magento-cron]

Denotes questions regarding Magento Cron

Filter by
Sorted by
Tagged with
4
votes
3answers
276 views

Magento 1.9 Cron.php Works, Cron.sh Does Not

I've tried many solutions, but can not seem to get cron restored. It was working fine and suddenly it no longer does. I have Truncated the cron_schedule table, but it doesn't populate. If I run cron....
1
vote
1answer
3k views

Cron job error SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock

Suddenly and without reason, I get error via the mail concerns a cron job that could not be executed. Here is the report : *[Magento\Framework\DB\Adapter\DeadlockException] ...
2
votes
2answers
2k views

Cron job is not running automatically

I am trying to implement cron job to write a log file with 1min interval. I have an issue while doing the same. I notice that cron job is not running automatically. Each time when I run "PHP bin/...
2
votes
0answers
2k views

Log Cleaning in Magento 2 periodically

I am trying to clean the log generated in var/log folder in magento 2 by cron job so that it can run periodically.I go through this link https://github.com/rakeshmagento/magento2-db-log-cleaner/blob/...
0
votes
3answers
5k views

Configuration of a Queue CRON job

I have a MySQL-based queue that has been added by a custom extension and I'd like to know how to configure the CRON to run that queue process. The Magento documentation has this to say about how to ...
0
votes
0answers
79 views

Email not working Magento Community version 1.9.3.8

My store is developed in 1.9.3.8 and none of the emails working like: Order confirmation email, Contact us mail, new registration mail, forget password mail. I tried sending through the admin panel ...
0
votes
0answers
40 views

Magento 2 : Best Seller are not updated for imported order

I have import orders and generate shipment and invoice, But our Statistics are not updated like best seller, Most Viewed, Order Collection, Dashboard Graph. I have already tried with cron and refresh ...
0
votes
1answer
42 views

Magento2->Will Indexing & Cache Via CRON Affect Speed Of the Website?

I'm using Magento2 & my concern is here:- If I set CRON for indexing(every 12th minutes) & cache-flush(every hour) will it affect website speed? is it the right way to use cache via CRON? ...
1
vote
1answer
198 views

Magento cron or mysql event scheduler which one is best based on perfomance?

I know in some case we have to run Magento cron as if it is some file or logic base. But If I just want to perform some task regarding just database like want to update or delete some record from ...
0
votes
0answers
23 views

How can I set cron for some specific php file

I created test.php file in the root folder. I want to this file run automatically in every 2 minutes. I know this is done using cron. but I don't know how to set up cron. so can any one give me ...
0
votes
2answers
42 views

Cron Job In Magento

How to run controller action in Cron Job? I am trying to run cron every five Minute, but cron is not working. I put the code below, Please check :- */5 * * * * root wget -O - http://www.example....
1
vote
0answers
84 views

Product attribute values resetting at midnight everyday

I've posted something similar before and no one replied with a decent answer, so I'm posting a new thread so it will have some fresh eyes. I'm having huge problems with Magento 2, every night at ...
1
vote
3answers
2k views

Magento 2: Check if a cronjob is already running

What is the best way to check, if a cronjob is already running? I need a cronjob that checks, if there are new files in a folder and then do some stuff to this files. The cronjob should check every ...
0
votes
0answers
395 views

Magento2 : Cron script readiness check failed

I am trying to install the extensions and I am getting following errors. I have already set the crontab as well. Check Cron Scripts Cron script readiness check failed. Hide detail Error from ...
1
vote
1answer
576 views

i had error while starting the cron job

I had an error on starting cron job. getting this error, now im unable to do anything in magento :( Could not open input file: cron:run n:run my cron job for magento is below, * * * * * /usr/bin/...
0
votes
2answers
2k views

Magento 2 Cronjob using a lot of memory on server

My server for Magento2 is running out of memory, and when I look at the processes, I see a log of cron jobs running, some of them have been running for more than 20 minutes. I killed all cron job ...
0
votes
1answer
737 views

Magento 2: cron group run all crons

I have created cron for my custom module using this link http://devdocs.magento.com/guides/v2.0/config-guide/cron/custom-cron-ref.html crontab.xml <?xml version="1.0"?> <config xmlns:xsi="...
1
vote
1answer
231 views

Magento 2: Cron not working

I have created cron in magento 2 but it run by command not run automatically run at every 5 minutes. file: crontab.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...
1
vote
2answers
4k views

How can I setup cron job in Wamp Windows? [duplicate]

How can I configure the Magento 2 cron job in Wamp Windows? For upgrade Magento 2 asking cron in Wamp localhost.
2
votes
1answer
8k views

Magento2 reindex via cron job

I have a store with 300k products, I set up the reindex to be "Update by Schedule", But I don't know what is the best way for reindexing, Should I do this manually by SSH command every 24 hours by ...
0
votes
1answer
624 views

How to configure Magento 1.9 Cron Job to run on a Windows Server 2016?

I would like to set the Cron Job to allow Magento to send emails after new orders from customers. I tried running Magento Cron Job on Windows Task Scheduler with the script from wget.exe and an ...
0
votes
0answers
290 views

Magento 1.9 cron maximum execution time exceeded

I've got custom module to generate feeds for google shopping and others. When i'm running from magento cron i've got this error: PHP Fatal error: Maximum execution time of 1800 seconds exceeded in.....
2
votes
1answer
902 views

Magento 2 - Cron groups explaination

What is the purpose of below configuration in cron group xml file? I did not fully understand the meaning of those lines: schedule_generate_every Frequency (in minutes) that schedules are written ...
0
votes
1answer
54 views

Magento is not sending emails of new orders

Magento is not sending emails when there are new orders neither when you comment on the order. Invoice, credit memo, shipping and contact us are working perfectly. Queued emails are in core email ...
1
vote
1answer
208 views

Please help me troubleshoot why Magento2 Cron just won't work

Why we simply cannot get the CRON to run on Magento2 (2.2). The Crontab is below. The Cron_Schedule database table only ever populates if we trigger the Magento Cron manually from the CL. * * * * * /...
0
votes
1answer
34 views

Crons not reindexing the indexer after setting all

I checked the crontab and it is showing me the correct entries. link I checked the cron_schedule table and it is creating and scheduling indexers. link I checked the bin/magento indexer:status and it ...
1
vote
1answer
412 views

Cron job permission issue?

crontab.xml: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd"> <...
0
votes
1answer
2k views

Cron Job Magento 2.2 fail - Class 'IntlDateFormatter' not found in

System set up: Magento 2.2 PHP version 7.1.13 fastcgi with Intl installed Ubuntu 16.04.2 LTS‬ Plesk version: 17.0.17 Elements to the cron set up magento.cron.log update.cron.log setup.cron.log ...
1
vote
2answers
632 views

Why does Magento limit Newsletter sending to 20?

I am currently midst sending a newsletter to 12782 subscribers, it has been going since 3:00am this morning and now it is 22:41, but has only sent 4740 emails. Investigating further it has come to my ...
2
votes
0answers
44 views

How to run my custom code before a cron job (catalogrule_apply_all) WITHOUT overriding Magento's core?

Plain and simple: my module must do stuff before Magento's own catalogrule_apply_all (meaning: Mage_CatalogRule_Model_Rule::dailyCatalogUpdate()). I see no event rised neither in this method itself ...
2
votes
1answer
413 views

Session is not working in cron file

namespace send\sms\Cron; use Magento\Framework\ObjectManagerInterface; class Run /*extends send\sms\Controller\Customr*/ { public function execute() { $om = \Magento\Framework\App\...
2
votes
0answers
86 views

How to get Customer Id in Cron job function?

namespace Cron\Test\Cron; class Example { protected $customerSession; /** * Construct * * @param \Magento\Framework\View\Element\Template\Context $context ...
4
votes
2answers
4k views

Magento 2: CronJob bug? MySQL is always running at 30% usage and many php processes are running

I am running magento 2 (2.2.1) on nginx and enable the cronjob by default. php bin/magento cron:install I don't customize any configuration regarding schedule of cronjobs. after running the ...
1
vote
3answers
564 views

How to save cron job

I am trying to start cron job because I get an error when trying to install the extension. according to this guide: http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-cron....
1
vote
1answer
150 views

Reset overlay button (cronjobs)

Inside System > Scheduler > Job Configuration: then you click on a specific cronjob. What does the button reset overlay do inside that panel? Magento ver. 1.14.1.0
2
votes
0answers
124 views

Magento 2 Cron display out of stock product

I want to get list of all the products for particular categories irrespective of OUT OF STOCK or IN STOCK using cron. Currently, if i execute the cron it list only IN STOCK product. I don't want to ...

1 2
3