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
0 votes
3 answers
1k views

Is there any way to run core_email_queue_clean_up without having to send all emails in the queue?

I probably run into this issue once every other month. We inherit a website from a client that is all up to date on its patches (1.9.1 and up), but cron was never set up. As soon as we set up cron, a ...
runtimerror's user avatar
1 vote
0 answers
146 views

Are there any creative solutions for launching cron.sh for multiple Magento stores in a distributed architecture?

At the company I work for, our architecture is set up in such a way that we have hundreds of Magento stores, and a variable number of application servers (behind a load balancer), but only one ...
Eric Seastrand's user avatar
0 votes
2 answers
5k views

how to set cron.sh for magento using ssh

I am weak in server handling I want to know to to set crontab to start cron.sh for my magento website. when I run command crontab -l I get output no crontab for root i tried editing /etc/...
mdeveloper's user avatar
0 votes
1 answer
2k views

Check Cron Scripts

Hello I have an issue with Magento 2.0.2. When I tried to install extensions, it is stuck on Readiness Check and one thing more it is also giving me one or more indexer is invalid please make sure ...
Piyush Rajawat's user avatar
7 votes
7 answers
29k 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 ...
H. Ferrence's user avatar
  • 1,011
1 vote
1 answer
492 views

Transactional Emails are instant OR they are based on cron file?

I have a magento website setup and development is also almost completed, but i am bit confused about transactional emails. If a customer buy something from my webiste, does magento sends the email on ...
Soeb Safi's user avatar
  • 313
0 votes
1 answer
219 views

Smush.It Cron How to enable [duplicate]

I have just installed a Magento extension for Smush.it and image optimization extension however when I go into the tool, it tells me that The Magento CRON is not set up. Please set up your Magento ...
Rizwan's user avatar
  • 1
5 votes
3 answers
1k views

Magento Cron is not run on windows

I want to run the cron job on magento, but the cron events are not appeared. This is my etc/config.xml file. <crontab> <jobs> <imagerecycle_imagerecycle> &...
wuang li's user avatar
2 votes
2 answers
8k views

How to run a specific cron job in Magento2

How can I run a specific cron job code in Magento2 instead of running it by group.
Atish Goswami's user avatar
0 votes
1 answer
404 views

Cron jobs not being called, getting email notification errors

I've been having a hard time getting my cronjobs working for my new magento 1.9.2.3 install. I added a mailto along with my cron call in crontab and i've been getting back error messages like this: ...
The_Dsigner's user avatar
4 votes
0 answers
772 views

Cron generating a lot of process causing the server to hang (Magento 2.0.2)

I have a VM running ubuntu with no problem: Tasks: 124 total, 1 running, 123 sleeping, 0 stopped, 0 zombie %Cpu0 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st ...
Luiz Junior's user avatar
1 vote
2 answers
2k views

Cron.php/Cron.sh Not being called/Manual only - Permission problem

Yes I know another Cron problem with version 1.9, but I honestly have looked through so many posts here and on Mage Forums and I have gotten nowhere. So I have gone into my Cpanel (Magento 1.9.2.2) ...
The_Dsigner's user avatar
0 votes
1 answer
1k views

Error running cron in magento

Noticed in our error_log file is showing this below [09-Feb-2016 16:55:02 UTC] PHP Notice: Undefined index: SCRIPT_NAME in /home/USERNAME/public_html/cron.php on line 40 [09-Feb-2016 16:55:02 UTC] ...
Marc Smith's user avatar
9 votes
5 answers
23k views

Magento 2 cron not working

*/1 * * * * www-data php /var/www/magento-2/bin/magento cron:run */1 * * * * www-data php /var/www/magento-2/update/cron.php */1 * * * * www-data php /var/www/magento-2/bin/magento setup:cron:run ...
Prince Yadav's user avatar
0 votes
1 answer
112 views

Does Magento cron maintain tasks order?

Lets say I have two cronjobs: <vendor_module_task1> <schedule><cron_expr>0,10,20,30,40,50 * * * *</cron_expr></schedule> <run><model>sometask</...
Ronen Ness's user avatar
0 votes
1 answer
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 ...
Classic's user avatar
  • 179
2 votes
1 answer
510 views

What is the correct way to properly register & run automated cronjobs in Magento 2?

I'm trying to define a cronjob for a custom module, but having a hard time going through the proper flow of scheduled cronjobs. Few things of note: It seems that third-party cronjobs are only ...
Mark Shust at M.academy's user avatar
0 votes
2 answers
652 views

Add new cronjob to run specific .php file [duplicate]

I use AOE Scheduler to manage my cronjobs in Magento. Now I want to run a specific .php file that I created, to run every night at 03.00h. How can I add this easily?
JGeer's user avatar
  • 1,446
0 votes
0 answers
39 views

magento cron malfunction

I have upgraded from magento 1.8 to 1.9 one month back. In a module, I have a crontab describing a cron job to execute a function to cancel order automatically after 5 days if the status of the order ...
Anurag Khandelwal's user avatar
1 vote
1 answer
207 views

One or more of the indexers are not valid. Please add Magento cron file to crontab or launch cron.php manually

I received the above system message error on the top right hand of the screen after logging into the Admin page of Magento 2.0 When I run -> php cron.php in my magento 2.0 installation directory I ...
George Ng's user avatar
  • 101
1 vote
1 answer
2k views

Magento 1.9.2.1 Cron Permission denied

I heve crontab * * * * * /bin/sh /home/mydomaindirectory/mydomain.com/www/cron.sh but cron doesn't work. Has error: /home/mydomaindirectory/mydomain.com/www/cron.sh: line 47: /home/...
omelandr's user avatar
  • 1,257
2 votes
1 answer
762 views

Cron job doesn't work

I have a couple cron jobs in my module The problem is that the Magento cron doesn't run one of them, but runs the another one. I have already installed AoeScheduler and that allows to me to run these ...
David Alvir's user avatar
0 votes
1 answer
1k views

magento 1.9.1.1 cant run my cron jobs

About the problem: I have problems with magento cron jobs not working properly using default Magento cron settings on Configuration -> System. I have reverted most of the files to previous version ...
nobody_cares_'s user avatar
3 votes
1 answer
2k views

Add cron.sh on crontab but cron is not working

I added this line to crontab on our server */5 * * * * /home/users/mydomain/www/cron.sh >> /home/users/mydomain/www/var/log/cron.log 2>&1 but Aoe_Scheduler said last cron success was ...
Yohan's user avatar
  • 1,590
2 votes
5 answers
4k views

Magento Cron Job is not working using module

I am new to Magento and trying to run Cron Job using module. Here is my code app/etc/modules/FQLabs_Automail.xml <?xml version="1.0"?> <config> <modules> <...
AkshayT's user avatar
  • 123
1 vote
0 answers
81 views

Discount rules between cronjobs at 01:00 and 02:00

By default, Magento has 2 cronjobs that run at 01:00 and 02:00. catalog_product_index_price_reindex_all 0 2 * * * catalogrule_apply_all 0 1 * * * Does this mean that between 01:00 and 02:00 all ...
willem wigman's user avatar
0 votes
2 answers
6k views

Automatic email notification when a product is back in stock

I have activated the option "Sign up to get notified when this product is back in stock" Magento 1.9.1 give the possibility to subscibe to a product that is out of stock to let be informed by email ...
Ivan's user avatar
  • 166
1 vote
2 answers
82 views

Cron job at three distinct times

How do you execute a cron to run at 9 am, 1 pm and 3.30 pm My code is <crontab> <jobs> <dotsquareexportcron> <schedule> <cron_expr&...
Trliok's user avatar
  • 113
1 vote
0 answers
80 views

Reindex crontab is not working

I want to setup reindex Catalog Url Rewrites everyday so I setup this on crontab 30 3 * * * php /home/users/kmtg/www/shell/indexer.php --reindex catalog_url I checked it seems crontab is working ...
Yohan's user avatar
  • 1,590
2 votes
3 answers
3k views

How to create a cron job programatically?

How can I create a cron job in Magento without defining <run><model></model></run> in the XML? I have a lot of jobs that need to be changed programmatically and we couldn't ...
user1240207's user avatar
  • 1,339

1 2 3 4
5