Questions tagged [cron]

Denotes a question related to the cron system

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

How to set up magento cron properly on shared hosting provider (Hostinger)

I tried to set up Magento Cron on Hostinger via their proprietary hpanel. But it seems like it's not working properly. Installing Magento Cron via SSH doesn't work either Current setup:
0
votes
0answers
7 views

How often should Cron schedule run in Magento2 for 10,000+ products?

I have a Magento2 site with 13,000 products loaded. Looking at the server CPU usage, I can see that it is currently consuming ~60% CPU at all times. I have looked at the processes using the "top" ...
0
votes
1answer
20 views

How to solve slow performance, slow and long running CRONs in Magento Cloud?

I'm having these two main issues below in my Magento 2.3.2 Enterprise Cloud. Heavy SQL load and site performance issues. Long-running and stuck CRON. How could I solve it?
1
vote
1answer
21 views

why message queue consumer never exiting when --max-messages specified?

I'm using Magento 2.3.4 with RabbitMQ configured in the env.php to process my message queues, I start consumer using: bin/magento queue:consumers:start ConsumerName --max-messages 1 But the consumer ...
0
votes
0answers
9 views

Indexer with custom cron_group

We have created a new custom indexer as per requirement. And now we need to schedule that indexer with custom cron_group which can be scheduled according to business. We don't want to schedule with ...
0
votes
0answers
8 views

Cron job Creation

I've created a module with a cron, the module is registered with no problem and the crontab.xml looks like this: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
0
votes
1answer
19 views

Magento2 Cron not running

My cron file code as follows.crontab.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd"> <...
0
votes
1answer
14 views

Magento2 /bin/sh: /home/appleserver2/public_html/magento2/var/log/update.cron.log: No such file or directory

i have delete magento2 installation by directly deleting the directory and database. however i am getting email in every second and the mail content is as below /bin/sh: /home/appleserver2/...
0
votes
0answers
24 views

Is there any way to Schedule a Cron Programatically

I have created a CRON from My Customer this extension has a CRON. now the client is asking me to do something that CRON should schedule automatically on Magento Extension Installation He doesn't want ...
0
votes
1answer
21 views

Cron job not launching automaticaly

I've created a CRON job which I want to launch once a time every day. This cron is sending me an email when it's launching. See my crontab.xml <?xml version="1.0"?> <config xmlns:xsi="...
0
votes
1answer
26 views

How the message queues schedule works?

I just configured my message queues to run via RabbitMQ, but I don't know the schedule and frequency of these processes. How could I check the schedule and change the number of processes to be ...
0
votes
0answers
4 views

Query to send a data within time frame

I have created a cron job for my module and set the cron to run in every minute. So whenever the cron is run, I'm sending the data collection to another server using ftp. Now, whenever the cron is ...
0
votes
1answer
17 views

Cron tab and schedule: is it needed for layout compile/custom modules?

My current store's staging instance does not have crontab set up as far as I can tell. The cron_schedule table is empty. Is this needed for custom modules/themes/etc to work properly? What is the ...
0
votes
0answers
51 views

Problem with shipping confirmation email

I have this very strange problem regarding the sending of the shipping confirmation email. The cron task sales_send_order_shipment_emails kept failing, so I looked at the logs and I have this: [2020-...
0
votes
0answers
17 views

Magento1.9 - Cron to change image names

I need to change all image names to take the product name as their name. I would like to create a cron that runs one time. As far as I understand, I need the loaded product, so I can take its name ...
0
votes
1answer
19 views

How to optimize my indexes cron execution?

I'm checking how to optimize my cron execution in the reindex action, and I saw the option to run the index job in a separated process. How does it work? can it be helpful to optimize the execution?
0
votes
1answer
16 views

magento cloud, pause the cron job?

I am using the Magento Cloud, is there anyway to pause or temporary disable the cron job running on Magento? Thanks
0
votes
0answers
17 views

Magento 2.3: CRON job is not working in custom module

I have created a module for collecting customer data from the Magento database and sending them as a CSV file to another server by hitting the controller URL in browser. Now, I want it to be send ...
0
votes
1answer
190 views

Magento System.log - Unknown connection name amqp [] []

I am following this documentation for the custom cron job https://devdocs.magento.com/guides/v2.3/config-guide/cron/custom-cron-tut.html I should get the below message in the system.log as part of ...
0
votes
0answers
29 views

Magento 1.9 - Totally email not working in my store

another critical problem when going to send email from my store.can't send any email through the store site.Also i checked core_email_queue table & email-queue _recipient ,no records there. I'm ...
0
votes
2answers
42 views

Run Magento2 Reindex only during off-peak hours

We have a Magento2 shop with 20.000+ products and multiple storefronts. So reindexing takes a long time (about 10 minutes). We want the reindexing of catalog_category_product and ...
0
votes
0answers
14 views

PHP Script in Magento 2 Custom Module Works in Browser but Not Working through Cron

We have a custom module that executes a php script. When running the script through an observer event, the script runs without a problem. When running the script through Cron, the script runs but does ...
0
votes
1answer
27 views

Magento, invalid model/method definition for start working cron

I want to start work my cron job, but i have error Mage_Core_Exception' with message 'Invalid model/method definition, expecting "model/class::method", got "DaniilKrok_Backorder_Model_Observer::...
1
vote
1answer
143 views

Magento 2 Custom cron not working

I am trying to run custom cron but, I got below error in system.log while execute cron:run command. main.WARNING: Could not acquire lock for cron group: default, skipping run [] [] crontab.xml ...
0
votes
1answer
38 views

Magento2 - How to check all running CRON Jobs?

In Magento2 how to check all running CRON Jobs. Is there any way for that?
1
vote
1answer
28 views

Magento Cron Error unexpected '['

I've installed an extension to Magento that switches customers groups, the cron that it runs is giving me the following error: TRIGGER: shutdown function Last error: Array ( [type] => 4 [message]...
0
votes
2answers
25 views

Magento 2.3 | How to get Website ID in Cron Class

I tried to retrieve it as: \Magento\Store\Model\StoreManagerInterface $storeManager and $websiteId = (int)$this->storeManager->getWebsite()->getId(); But it returns null in cron class. ...
0
votes
1answer
32 views

How to use systemd timer to replace OS system cron?

My Linux distro does not have a system cron by default. I can install one, but as an alternative, is it possible to replace that functionality for Magento 2.3 with a systemd timer? If so, what are the ...
0
votes
1answer
43 views

Magento2 - Cron Job not working

Cron Job is not working. Below is crontab.xml file: <?xml version="1.0" ?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:...
0
votes
2answers
109 views

Can I remove indexing from cron:run?

The cron php bin/magento cron:run is set to run every minute in our project. Along with various other tasks it runs indexing in Magento. Indexing is part of index cron group. For debugging purpose ...
0
votes
0answers
26 views

How to skip any particular indexer from indexing when cron runs?

I have configured cron (php bin/magento cron:run) which runs every minute. One of the tasks this cron job does is to update all indexers in Magento. When the indexing is run via this cron job, I want ...
0
votes
0answers
10 views

Schedule a cron job at the end of another cron jo

I'd like a cron job at the end of another cron job: At the end of the cron job: task_pippo the cron job: task_paperino must be immediately shielded. Can something be done?
0
votes
0answers
12 views

Magento - Cron scheduled don't created new jobs

I run command sh /var/www/vhosts/mysite.com/mysite.com/cron.sh on my server in scheduled tasks for start cron jobs working, and everything worked fine, but as early as 3 days no tasks were added and I ...
0
votes
1answer
21 views

CRON job not setting up on linux

I have setup the corn command using crontab -e command. MAILTO="" * * * * * /usr/bin/php7.2 /var/www/vhosts/hostname/httpdocs/bin/magento cron:run --group="test" I have created module to run CRON ...
0
votes
1answer
108 views

Index - ready but 11619 in backlog

We have a indexer in Magento 2.3.3 that is giving us a difficult time. We tried many times reset and reindex that indexer but does not help. | Bol.com Offer Export | Ready | ...
0
votes
0answers
18 views

Magento2 : Cron readiness check failure

I'm facing error since last month suddenly. don't know whats wrong with configuration. I'm getting error in log in update.log. [2020-01-10 06:49:02] update-cron.ERROR: Cron readiness check failure! ...
0
votes
0answers
21 views

How to run a specific cronjob from a group from the console, in Magento 2?

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

cron jobs were running, then not at some point

It doesn't seem like the cron job is doing anything. I keep getting warnings in the admin panel that the indexes are invalid. The crontab file is as expected. The emails are not getting sent either....
1
vote
1answer
65 views

Invalid callback: Model on custom cron module

I am trying to make a custom module to run a cron job to assign products to categories. I am however missing something, and I keep getting errors, and the cron job shows up, but doesn't work. /...
2
votes
0answers
28 views

Magento 2: How to execute custom cronjob before default cronjob execute?

How to call cronjob before default cronjob execute?
1
vote
0answers
21 views

Cron task problem

Recently, I deleted my child theme created on the basis of blank and installed a new theme that I bought in the store. But I noticed that my previous theme still does cron tasks. Image.jpg is ...
0
votes
1answer
86 views

Remove magento cron jobs magento 2

I am trying to remove the cron jobs in Magento 2. In SSH running crontab -l I get the following output. From Magento docs I found out that I need to run the command php bin/magento cron:remove ...
1
vote
0answers
31 views

static.php running multiple instances and hitting 100% cpu

I've recently installed, then uninstalled the Simplify Magento Module after some issues started cropping up. Now the site hits 100% CPU whenever I load just the homepage. Still on testing environment,...
1
vote
1answer
47 views

how to run work crons every 15 min

I have many tasks cron, and for each indicate the path and time not too good I know about cron.sh file. On my server, I have a scheduled task, and I would like to set the launch every 15 minutes on ...
1
vote
0answers
19 views

Unknown index “UsernamePasswordFormAuthenticve_index” in cron logfile - security issue?

Today i noticed a really strange index and code dump in cron.log: UsernamePasswordFormAuthenticve_index is successfully finished ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@...
1
vote
0answers
32 views

Cron error: sales_send_order_emails has an error: No such entity

I have these errors in cron.log: main.ERROR: Cron Job sales_send_order_emails has an error: No such entity with cartId = 0. We also have a problem with email confirmations and they are not being ...
1
vote
0answers
18 views

cron_schedule table not emptying itself (deadlock error)

I just realized after cheking my logs that all the queries supposed to clean my cron_schedule table are not being executed properly. My table just keeps on growing. Here are the three exception types ...
0
votes
2answers
149 views

Magento 2 How to stop particular group cron?

I runned cron command, now all cron group are running. But I wanted to stop my custom group cron. Please tell me how to stop it?
0
votes
1answer
165 views

Magento 2 What is the Cron Group / Module “Scconnector”?

I've noticed the cron group "Scconnector" found in the admin area under; system > configuration > Cron. What is this Module? The reason why I ask is I have noticing some CPU spikes when running the ...
0
votes
0answers
83 views

Magento 2 setting up default cron jobs when not run every minute

In my production environment I am not able to run magento cronjobs every minute as the server is freezing when doing so. In order to solve this issue the cron jobs in crontab are set up to run every ...

1
2 3 4 5
18