Questions tagged [crontab]

Short for "cron table". Can refer to the system crontab or Magento's own cronjob management

Filter by
Sorted by
Tagged with
14
votes
2answers
3k views

How to create custom Module Development in magento 2 from Scratch?

How to create Custom Module Development from scratch in magento 2 with following point. 1.How to Create Module 2.How to Install and Upgrade Database 3.How to Create Module,view and Controller ...
3
votes
3answers
598 views

How to enable or disable crons in Magento 2?

I checked in cron_schedule table, cron are disabled. I want to enable or disable crons. How can I do that?
0
votes
1answer
558 views

Magento Setting Up Cron “cron.sh: line 26: $'\r': command not found”

Recently i setup a fresh install of Magento 1.9.2 upon configuring cron i get the following error when i try to execute bash /path/to/my/magento/root/cron.sh ERROR :cron.sh: line 26: $'\r': command ...
7
votes
2answers
3k views

How to set cronjob dynamic schedule from database in Magento 2

I am working on a custom module for Magento 2. I did setup crontab there and it is working good with static schedule. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
7
votes
2answers
4k views

Magento 2: How to set cron for reindex in SSH in magento 2?

I want to know how to set cron for reindexing a particular indexer method in Magento 2. I have used below code to reindex all but not working: * * * * * php –f /shell/indexer.php reindexall Can ...
3
votes
2answers
2k views

Magento 2: CronJob bug? MySQL is always running at 30% usage and many php processes are running

im running magento 2 (2.2.1) on nginx and enable the cronjob by default. php bin/magento cron:install i dont customize any configuration regarding schedule of cronjobs. after running the machine a ...
1
vote
1answer
633 views

Magento 2 Custom cron job is ignored

I have followed the tutorial on Magento dev docs to create a custom crontab. Checking the cron_schedule table and various logs, I can see that cron is successfully running M2 jobs (e.g. indexer, ...
0
votes
1answer
5k views

Magento2 how to check if cronjobs are correctly set?

I'm pretty sure my cronjobs doesn't work properly. All catalog rules that I created are resetting every day. I checked the cron_schedule table in my db and its empty. Is there a way to test or check ...
7
votes
7answers
25k views

How to make sure your Magento 2.0 cron job is running

How do I make sure my Magento cron job is running? I setup cron per the Magento 2 installation instructions for the log files. See screen shot (click to enlarge): I am running Magento CE 2.0.2 ...
3
votes
4answers
1k views

Magento 2 set store_id and website_id in crontab

I have written cron to crate customer, but while running code through cron, I am getting error as A customer website ID must be specified when using the website scope code to get website id: $...
3
votes
1answer
75 views

Error in Cron with Directoy list - Magento 2.2.7

I moved Magento 2.2.7 from one host to another. I moved it myself. Everything worked except the cron. I installed cron using magento cron command. Now every 15 min. cron is running and sending me a ...
2
votes
2answers
1k views

how to configure Consumer_run for async.operations.all?

I have enabled my custom modules for certain functionality, successfully deployed but magento2 admin portal prompts me "something went wrong" when I click my newly installed module.(the module is not ...
1
vote
0answers
822 views

Magento 2 site crashing after 2 weeks (Believed cron or mysql problem)

I have a magento 2 site working however it keeps crashing randomly after running smoothly for 2 weeks. I reboot my site after the crash and it seems to stay for about a day or so before crashing again....
1
vote
1answer
476 views

Order Emails Marked as sent but not received

Copied the below question from another forum. Has anybody been able to solve this? My cron is set up and is working. Emails marked as sent in back end but is being queued in core_email_queue. Spent 7 ...
0
votes
2answers
5k views

Error from Updater Application Cron Script: Cron job has not been configured yet

Within the Magento web component wizard, when we try to install extensions, we receive the following error during the Readiness Check: Check Cron Scripts Cron script readiness check failed. Hide ...
0
votes
1answer
2k views

Cronjobs Magento 1.9.2.2 - Is it possible to have Cron.sh call Cron.php by /usr/php/54/usr/bin/php

I have spent about two weeks on and off trying to figure this out. I have honestly tried so many different things and configurations, I don't remember all of them anymore. Essentially I can't get the ...