Questions tagged [cron]

Denotes a question related to the cron system

Filter by
Sorted by
Tagged with
1
vote
2answers
746 views

Cron does not update currency rates

I'm using this module to replace webservicex currency rates importer: https://github.com/philwinkle/Philwinkle_Fixerio It is working ok when I hit import and save in the backend. But I want to run ...
1
vote
2answers
960 views

Magento2: CRON Job is scheduled but Not Running

I have created a Cron job followed this question Installed the Extension and check it from admin back it says the job is pending. Below is the screenshot and my code in detail, Please let me know if ...
2
votes
3answers
3k views

Cron job hang - how to debug?

I have some cronjob that sometime get stuck in running status. That make me think that for some reason they produce and error but I cannot find any related log. ( the column messages in cron_schedule ...
1
vote
1answer
41 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
17 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 ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@...
3
votes
1answer
35 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="...
1
vote
0answers
15 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
3answers
1k views

How Can I Schedule custom cron in every 5 minutes.?

cron_groups.xml <?xml version="1.0"?> <group id="custom_crongroup"> <schedule_generate_every>5</schedule_generate_every> <schedule_ahead_for>10</...
3
votes
3answers
1k views

Is adding “$isShellDisabled = true; ” in “cron.php” recommended?

All cron jobs were scheduled but not executed. Googled it lot but no help. I have checked this too. Then found this link As it described I have added this line $isShellDisabled = true; and cron ...
5
votes
10answers
21k views

Magento 2: New added products not showing

I need some help I have added new products in the Backend and they are showing in the DB but not showing on the front page. Also, previously out of stock products are not showing as well after ...
2
votes
2answers
36 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?
3
votes
2answers
3k 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 ...
0
votes
1answer
151 views

cron Scheduler requests remains in pending , eventually site crashed why?

Our a magento 2.2 site usually goes down for about 3 to 4 minutes after within every 4 or 5 hours, than goes up when cron scheduler finishes it job. In this database... select count(status) from ...
1
vote
0answers
10 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
1answer
716 views

basic product repository save not work in cron - magento2

I tried the below code in custom controller and cron job method [just load and save] after that I felt some issues $product = $this->productRepository->getById(548); $this->productRepository-...
0
votes
2answers
662 views

Magento 2.1.6 - cronjob only working if i run commands not by schedule

I have gone through many pages regarding setting up cron correctly, whilst magento passed the readiness check on an extension install for cron, it still does not seem to run unless i run this command: ...
0
votes
2answers
3k views

Cron.php not working using cronjob setting from Cpanel and no confirmation mail send to customer in magento 1.9.2.4

I just set cron job using cpanel of my site, according to that cron.php runs in every 5 mins. But it's not. It is working whenever I execute cron.php directly from browser. Here is the code of my ...
0
votes
3answers
956 views

cache_dir “/var/www/html/Magento2/var/cache/” is not writable

I'm running a fresh Magento2.3 install on ubuntu 18.04. I managed to edit sample data yesterday, but today I had a go at adding a new product. After saving - I got the error : One or more ...
100
votes
16answers
179k views

New order email confirmation not being sent

I have upgraded my website to 1.9.1 and now my customers are not receiving order confirmation email. I tried sending through the admin panel but nothing happens, also no update email is being ...
0
votes
1answer
42 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 ...
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
0answers
30 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 ...
0
votes
1answer
642 views

escapeshellarg() has been disabled - cronjob - Magento 2

I get this error after installing Magento 2 and enabling the cronjob. The error appears in the email/logfile of the following cronjob: /usr/local/bin/php -f /home/craftweb/domains/craftseurope.eu/...
1
vote
1answer
1k 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] ...
0
votes
2answers
45 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
40 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
39 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
0answers
24 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
36 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
695 views

Magento 2 - How to create the batch file to export product to csv file

In Magento 2, How to create the batch file to export product to csv file? May you show me step by step, Thanks!
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
347 views

cron has started throwing and exception 'Mage_Core_Exception' with message 'Mage registry key “_singleton/admin/session” already exists'

Magento 1.9.2.1 has just started throwing the exception 'Mage_Core_Exception' with message 'Mage registry key "_singleton/admin/session" already exists' it happens with different cron jobs - if I ...
3
votes
1answer
739 views

How to disable “Cron Job” logging into system.log file in Magento 2

My logs are being flooded with cron jobs updates. How can I disable this? [2019-02-27 06:28:02] main.INFO: Cron Job outdated_authentication_failures_cleanup is run [] [] [2019-02-27 06:28:02] main....
0
votes
1answer
932 views

Zend_Mail_Protocol_Exception: Must issue a STARTTLS command first

I am running magento 1.9.1 website on AWS EC2 Ubuntu machine. Customer registration emails are going out but transnational emails are not going. I configure SMTP by AWS SES service with SMTP Pro ...
0
votes
2answers
53 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 ...
1
vote
3answers
5k views

Cron job always “missed”

My website has this cron job set to run every 30 mins and the cron.php/sh is set to run every 15 mins on the server. But I always get "missed" for this cron job. My cron configuration time setting is: ...
1
vote
0answers
23 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
96 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 ...
0
votes
1answer
874 views

I am having massive trouble setting up a cron job in Magento 2

Sorry if this has already been answered, but I have looked around and have been unable to find the help, I've followed countless tutorials etc, just can't get my head around it. So I have a Magento 2....
3
votes
1answer
1k views

Magento 1.9.0.1: Email stuck in queque? 'This letter cannot be sent.'

something strange is going on with my Magento install. Everything with the emails used to work fine, but now I have these messages in my exception.log: 2015-05-11T10:00:02+00:00 ERR (3): exception '...
13
votes
4answers
11k views

Magento 2 run a specific Cron without cron:run CLI command?

To make a long story short xdebug will not reliably stop on the breakpoints in my cron files when using the typical: php bin/magento cron:run Xdebug is all setup properly and sometimes it will work ...
0
votes
3answers
4k views

Cron jobs are not executing

In my website till the last week crons was working fine and suddenly stopped working and even stopped scheduling in the cron_schedule table. so i had truncated cron_schedule and executed php cron.php ...
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 ...
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->...
1
vote
1answer
853 views

Unable to set up cron job on GoDaddy hosting

I am trying to set up my indexer using GoDaddy hosting with cPanel. The indexer is not refreshed and asks me to check that the cron job is running. How do I set up the cron job?
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
10 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
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., ...