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:
1
vote
1answer
628 views

Fatal error: cron install error

i'm getting this cron install error, how can i fix it?thankyou!! php bin/magento cron:install --force Fatal error: Uncaught Error: Call to a member function getMessage() on null in /home/XXX/...
2
votes
2answers
822 views

Stores->Configuration->Advanced->Advanced Not showing up

I'm trying to set up a custom cron job as per this tutorial, but Stores -> Configuration -> Advanced -> Advanced does not exist on my backend. This is what the Advanced menu looks like for me: This ...
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" ...
1
vote
2answers
798 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 ...
3
votes
1answer
2k views

Magento 2: System upgrade fails Readiness Check (always_populate_raw_post_data = 0)

I am trying to upgrade Magento 2.07 to 2.1. I pass all the checks apart from the one below: Your PHP Version is 5.6.22, but always_populate_raw_post_data = 0. $HTTP_RAW_POST_DATA is deprecated from ...
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?
4
votes
1answer
2k views

Magento cron jobs are not scheduling in the cron_schedule table

I have cron task in my custom module for sync data. Below is the code in my module config.xml <config> ------- <crontab> <jobs> <tal_intermediate_cron_product&...
1
vote
1answer
22 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 ...
1
vote
4answers
4k views

Separate cron job for reindex all?

I've set up the cron job for magento. Do I have to set up a separate cron job for reindex? I'm running Magento 1.9.1
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 ...
3
votes
2answers
2k views

Magento2 : Cron run not working

Below given is crontab.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd"> <group id="...
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"> <...
4
votes
6answers
38k views

Magento 1.9.2 not sending new order confirmation emails

I'm new to Magento. I've upgraded recently Magento to 1.9.2 and it's not sending new order confirmation emails. I checked email templates and they're in a place (I use default Magento templates from ...
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
689 views

Magento 2: Reindex script does not work with cronjob

Ok, true desparation here. Since the reindex via default cron simply does not want to work (Reindex gets scheduled by cron but never executed) I decided to create a separate cron just to trigger the ...
2
votes
3answers
1k 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/...
1
vote
2answers
1k views

How to check /root/cron.php/ is working or not

I have create fedex module that complate the order status based on product delivery status and setup with /root/cron.php/. but i don't know to check cron schedules are working or not. Any manual ...
0
votes
2answers
614 views

Magento 2.2.3 cron Errors how to solve?

we are running website Magento 2.2.3 CE version. We are getting an error in cron.log please advise? cron.log Warning: require_once(/srv/public_html/update/vendor/autoload.php): failed to open ...
0
votes
1answer
685 views

Magento v. 1.9.2.4 - MYSQL Table core_email_queue still empty after Updates

got a strange Problem here in my Magento Installation. My Cron Job is running with AOE_scheduler - works fine. Cron Job is running. Screenshot: My MYSQL Table is still empty - no e-mails where send ...
1
vote
2answers
1k 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 ...
1
vote
1answer
1k views

Cron readiness check failure! Found non-writable paths - for non-existant directory

In ver 2.2.5 of Magento CE, var/log/update.log contains errors similar to: update-cron.ERROR: Cron readiness check failure! Found following non-writable paths: /unqualified-path/magento2/.github []...
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 ...
2
votes
3answers
2k 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</...
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
27 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
1answer
875 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
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
2answers
678 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: ...
2
votes
1answer
770 views

“No callbacks found” error message in magento 2 cron job

I have created a crontab in my custom module and scheduled at every 10 minutes. It is working fine, when I am running the "php bin/magento setup:upgrade" command. So, first time it is working fine, ...
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
3answers
3k 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 ...
1
vote
1answer
2k 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
1answer
761 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/...
0
votes
1answer
191 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 ...
2
votes
1answer
731 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!
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 ...
1
vote
3answers
2k views

Scheduled/Automatic Backups in Magento 2

How to make Scheduled Backups work in Magento 2? After setting up "Scheduled Backups" in.. Magento > Shops > Configuration > Advanced > System > Settings for scheduled Backup (translated) .. ...
1
vote
2answers
372 views

Magento 2: How override native crontab.xml

I would like to override some cron jobs of native crontab.xml for example, vendor/amzn/amazon-pay-and-login-magento-2-module/src/Payment/etc/crontab.xml <config xmlns:xsi="http://www.w3.org/...
5
votes
1answer
1k 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
1k 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 ...

1
2 3 4 5
18