Questions tagged [cron]

Denotes a question related to the cron system

Filter by
Sorted by
Tagged with
0
votes
1answer
28 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
18 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
0answers
30 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
22 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
30 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
18 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
38 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
0answers
19 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
33 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
34 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=...
0
votes
2answers
44 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 ...
0
votes
0answers
21 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 ...
0
votes
0answers
62 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
22 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
22 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
9 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
22 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
21 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
31 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
34 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
60 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
36 views

Magento 2 cron error 'Process went away'

I shifted my module having custom cron job from local server to staging where it is showing this error It is working fine on local server whereas on staging rest of the cron jobs are also working. ...
0
votes
1answer
33 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/...
0
votes
0answers
21 views

Magento 1.9 Customer Login Stopped Working

Server: Dedicated, Apache 2.4, Nginx, Redis, CPanel/WHM, Site using FPC extension Mirasvit We have an Magento 1.9 site with the above setup - since last week all of sudden customers are no longer to ...
0
votes
0answers
20 views

Cron issue when installing components

I am having a problem when i try to install component through web setup wizard. My php version is 7.1.29 I am using Magento 2.3.2 In Step 1: Readiness Check i get the following result Check Updater ...
1
vote
2answers
29 views

Magento2: existing quote doesn't load through a cron job

I want to get an existing quote through a cron job, but it returns null. Want get through this $this->quoteFactory->create()->loadByCustomer($custoemrId) or $this->quoteFactory->...
1
vote
0answers
32 views

Cron job doesn't work Magento2

I created a module and want to use it through cron, and in the end I call the cron: run command, here are my files, what is wrong here? namespace AutoAddtocart\BundleAddtocart\Cron; class ...
2
votes
1answer
38 views

M2 | Why we need to execute cron:run twice executing first time?

I created a custom cron job and tested on local server, where it needs to run bin/magento cron:run two times simultaneously and then that custom job is created and scheduled. why is it like that ...
0
votes
0answers
17 views

M2 | Cron is not auto executing on server

I created custom cron job, all jobs are running fine on local server but on staging jobs are scheduled but always stay pending or missed. I can execute cron from backend using third party extension ...
1
vote
3answers
66 views

Magento Setting Up Cron “Error during saving of crontab: sh: line 6: crontab: command not found”

I don't have much knowledge in Magento, but I'm spending a lot of time trying to set up crontab. I tried to follow the steps available on the Magento website, but early on when I try to run the ...
0
votes
0answers
20 views

Magento 2.3 Order Invoice Email Not Being Sent via Cron Job

Magento 2.3.1 cron job code: sales_send_order_invoice_emails status: successful Anyone cares to share a way to solve this? If you know anything about the cron sending out email after catching the ...
0
votes
0answers
31 views

Magento Command Run Using .bat file

How to Use Magento 2 CMD Command using the .bat file I am Wrtting this Commands but still it is not working D:\xampp7.2\php\php.exe D:\xampp7.2\htdocs\m232\bin\magento cron:run D:\xampp7.2\php\php....
0
votes
1answer
23 views

Auto Cron is Not Working When I want to add Data into DataBase

Here Data Was Successfully Addded Into Database When i Run php bin\magento cron:run Command But AutoMatically Data Wasn't Added. vendor\module_name\Cron\Test.php use Psr\Log\LoggerInterface; class ...
2
votes
1answer
39 views

how magento 2 generats and archives log files in file system in server?

I have been searching in internet for this question "how Magento 2 generate log files and make archive files when the day passes is there an cron or configuration in admin area so I can change it for ...
1
vote
0answers
63 views

Magento 2 : Export CSV is not working

I have created the below code for the export of the CSV in my cron class file. But I unable to get it export file and when I checked in database it was showed me to status running for my job_code ...
3
votes
1answer
146 views

NOT_FOUND - no queue 'async.operations.all' in vhost '/' : RabitMQ : Magento 2.3 EE

I am integrating RabbitMQ with magento 2.3. EE , When I try to run cron It is giving me below error NOT_FOUND - no queue 'async.operations.all' in vhost '/' Can anyone help me on this.
0
votes
1answer
17 views

Difference between \Magento\Framework\App\Shell vs \Magento\Framework\Shell

I was trying to execute shell commands from the Magento application and came across the following class class in the framework \Magento\Framework\App\Shell and \Magento\Framework\Shell Not sure ...
1
vote
2answers
193 views

“indexer_update_all_views” cron job runs seemingly forever

We are currently having the problem that the indexer_update_all_views cron job seemingly runs forever - even though there aren't that many entries in the backlog of the indexer. Last time we let the ...
1
vote
1answer
83 views

Magento 2 - Bulk update stock programmatically - Using database query [duplicate]

I have 10 products; 1, 2, 3, 4, 5, 6, 7, 8, 9, 10. I want to be able to bulk change 1, 3, 4, 5 and 9 to 0 quantity and out of stock and 2, 6, 7, 8 and 10 to 100 quantity and in stock. How can I do ...
2
votes
2answers
303 views

Magento 2.3.2 CE and Cron jobs, flock and RabbitMQ

Last few days I was chasing an interesting bug in production system running Magento 2.3.2 CE Where as per community recommendation I run cron jobs like this flock --timeout=0 /run/lock/...
4
votes
2answers
190 views

Magento 2.2.8 - sitemap.xml contains “pub” DIR in the URL, It should be without “pub” directory in the URL

Preconditions app/etc/env.php 'directories' => [ 'document_root_is_pub' => true ], 'MAGE_MODE' => 'production', document_root_is_pub is true MAGE_MODE is have production value ...
3
votes
0answers
59 views

Create Magento 2 cron job task programmatically

To sync data between 2 portal, we need some action manually trigger, on click of button need to schedule a cron via programmatically. I have found solution but it is for Magento 1. For Magento 2 what ...
0
votes
0answers
34 views

Cron job not working for magnto 2

My crons are not working on my magento2.3 site. What can be the issue? I tried installing a new cron also, still, the same issue exists. I want to enable the cron for index management. The indexing is ...
1
vote
1answer
52 views

Magento 2.3 How to automate custom cron job from custom module?

I am working on Cron from custom module to send email from custom cron job, I created it as below but the cron job is nor working on the server. <?php namespace Name\Module\Cron; use Magento\...
0
votes
1answer
74 views

Trigger a cron job on custom form submit in magento 2?

Can I trigger a cron job at the time of form submission? Actually, I need to download a product pdf when the form gets submitted. But my pdf file has a large amount of data. So the site gets slow ...
0
votes
1answer
60 views

Magento 2.1.7 - Problem on Readiness Check on “Check Cron Scripts”

I have a Client with Magento 2.1.7, I need to success the Readiness Check so I can install extensions or upgrade Magento version... All the checks are ok! It says to: "Your PHP version is correct (...
1
vote
1answer
77 views

how to create a cron to execute a script every 1 min magento 2

I have created a script that deletes duplicated option for custom attribute because this attribute product will generate duplicated value after every save or edit of the product so how to proceed to ...
6
votes
3answers
2k views

Magento 2 Bulk Actions not Starting

After trying to update attributes for 4 products in Magento 2.3.2 the Bulk Actions log shows that the update tasks have not started. My Magento cron jobs appear to be running ok, why are bulk action ...
0
votes
1answer
17 views

How to configure the indexer to run over the night?

I would like to run my indexer to run over the night since I'm already using the reindex by schedule, how could I do that?