Questions tagged [cron]

Denotes a question related to the cron system

Filter by
Sorted by
Tagged with
0
votes
1answer
23 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
33 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
34 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
24 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
15 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
26 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
33 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
91 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
22 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
17 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
34 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
20 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
30 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
26 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
51 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
23 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
45 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
18 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
21 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
12 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
79 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
99 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
55 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 ...
3
votes
1answer
50 views

Magento 2 Custom Module Cron Job often missed

I'm using Magento version 2.2.5 and I've created a cron job for my custom module, but it's often missed, first I setup the cron to run every 5 minutes <group id="default"> <job instance="...
0
votes
1answer
98 views

Magento 2 - Duplicate Cron jobs in cron_schedule table

I have Magento 2 setup of version 2.2.2. I have set the cronjobs as per guidelines. When I check the cron_schedule table I can see multiple duplicate cronjobs entries. created_at is the same for the ...
0
votes
1answer
94 views

Changing the schedule of magento2 Crons

I have on setup on Magento and i have set cronjobs as per Magento guidelines as below. * * * * * /usr/bin/php /var/www/html/magento2/bin/magento cron:run 2>&1 | grep -v "Ran jobs by schedule" &...
0
votes
0answers
23 views

Run different cron jobs of custom module one after another in magento 2

I am working on creating a custom module that fetches categories and products from a third party app (store) to magento2 using apis. This module is divided into four parts: Category collect ...
0
votes
2answers
58 views

How to delay some cron jobs?

I'm having many performance issues because of my cron jobs, I suspect that it may be caused by two modules, Yotpo and Scconnector, both have options in the system > configuration. I'd like to know ...
0
votes
1answer
109 views

bulk product attribute update error with Area code is already set

Trying to do a bulk product attribute update in the magento GUI and feedback is that the message is queued. Messages in the database table queue_message seem right, the logs and a manual php bin/...
1
vote
1answer
45 views

How Best seller tables gets populated Magento 2?

There are 3 tables related to bestseller in Magento 2 sales_bestsellers_aggregated_daily sales_bestsellers_aggregated_monthly sales_bestsellers_aggregated_yearly How and when these tables get ...
2
votes
1answer
38 views

How i Can Schedule A cron Job on the Basis of Admin Configurations Values

I created a cron job as per standard method Vendor\Module\etc\crontab.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=...
1
vote
2answers
83 views

Magento 2 I want to run below command line for every minutes

I'm using Magento 2.3, Here when create bulk action from product grid schedule not started and updated. I got solution for the above issue when I run this command above issue fixed. So I want to run ...
2
votes
0answers
26 views

Magento 2 reindex cronjob frequency

Magento 2.3.0 It's more like an open question than a problem. By default reindex by schedule is fired every minute. Why is that so often? By your experience, can default cronjob be set less often ...
2
votes
1answer
411 views

Magento 2 Could not acquire lock for cron group: default

We just migrated our Magento 1 site to Magento 2. At some during the process, the default cron group stopped running. This was after data migration and possibly right after the first test orders were ...
1
vote
1answer
28 views

Magento 2 change product description using API on every 5 seconds

I am working on Magento2, and I've to change my product description on every five minutes using the third-party API. Then I've 1laksh product in my Magento, so which approach is better to change the ...
1
vote
0answers
23 views

Why my Magento just send order emails using the Send Email button?

I have my cron configured, but my order emails are sent just when I click on the Send Email button. How could I have my emails send via schedule?
1
vote
0answers
14 views

How to schedule a transactional email locally?

I want to test any transactional email by a schedule in my local environment. How could I do that in my local?
0
votes
0answers
13 views

Magento `cron_schedule` corrupted

My magento cronjob is seamingly making troubles for me. I never noticed that before because as far as i can see no errors are reported. I do not know about any other job sheduled but i know for a ...
0
votes
0answers
24 views

getLocaleCode() by customer instead of store

I am writing a module to send alert email to customer when a product is available. I have different email template with name like "alertmail EN", "alertmail FR"... I can't do $this->_store->...
0
votes
0answers
31 views

Magento 2: How to send newsletter on defined time?

I create one newsletter template and try to send customer , i also run the cron but customer not get newsletter, please help me how can i do that? In screenshot you can see status is Not sent., ...
1
vote
0answers
32 views

Magento 2 log file is not creating to test Cron

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

What cronjob takes care of running a Scheduled Import in Magento2?

I don't understand how scheduled import processes are starting. I don't find a matching cronjob in Magento_ScheduledImportExport, only a cleaning job: <job name="...
0
votes
1answer
172 views

cron:remove and cron:install command is not working. Magento 2

I'm trying to remove cron but it is not working and as well on install as well it is not working but in case of cron:run it works while I run the above two commands it give me an error C:\xamppp\...
0
votes
0answers
83 views

Magento 2 cron error 'Process went away'

I created custom cron job which is working fine on localhost and was working initially on the server as well but now on the server, it is getting scheduled but status changes from "pending" to "error" ...
0
votes
1answer
44 views

Magento2 - Cron readiness check failure

Cron is not working properly showing error in /var/www/domain.com/var/log/update.log [2019-09-25 07:07:02] update-cron.ERROR: Cron readiness check failure! Found non-writable paths: /var/www/...

1 2 3 4 5 18