We’re rewarding the question askers & reputations are being recalculated! Read more.

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
1
vote
0answers
136 views

Currency Rate cron job doesnt work

Since most people were having problem with Webservicex of Magento 1.9.2, I am using the Fixer.io to update my currency rates. When I do it manually it works like a charm and I have enabled the ...
0
votes
1answer
171 views

Why do I have 13 different Cron.php and what do I do with them?

I have 13 different Cron.php files in several different folders. All of the issues I'm having on Magento seem to be related to cron jobs. Cron job is running, but it doesn't do anything it's supposed ...
0
votes
1answer
98 views

Cron not running even after re-configuring

I have an extension that I use for feeding information to an ftp. this extension uses cron to send the feed to the ftp. but now the problem is that there is no heartbeat detected and the crons are not ...
0
votes
2answers
620 views

Unable to execute cron.php via SSH nor CRONTAB

I recently hosted my website using Magento, upon setting up my cron.php i get the following output : /home/xxx/webapps/abc/cron.php: line 1: ?php : No such file or directory /home/xxx/webapps/abc/...
2
votes
1answer
2k views

Magento 2 Cronjob plesk [closed]

I've tried to add the cronjobs for Magento 2 with the Plesk panel. But it doesn't work. Have anyone experience or a solution? PS.: Magento 1 was a little easier, only run the cron.php and it works. ...
0
votes
1answer
860 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....
0
votes
1answer
395 views

component manager gives the error that cron jobs has not been configured yet

I reindexed the indexers running the following commands: php ./magento cron:run php ./magento indexer:reindex and the reindex was performed succesfully Bt when I open ...
1
vote
0answers
2k views

Magento 2: Cron logs not generated

Below cron setting worked in Magento 2.0.1 (fedora 22) $ crontab -u www-data -e */1 * * * * /usr/bin/php -c /etc/php/7.0/apache2/php.ini /var/www/public/bin/magento cron:run >> /var/www/public/...
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: $...
0
votes
1answer
4k views

Cron not running

For some strange reason my cron jobs are not running anymore the last 24H in Magento 1.9.2.4 Cron jobs on the server are running well, without any problem. Trying to run https://www.domain.com/cron....
0
votes
1answer
83 views

Cron not working on one Magento install

I'm trying to use the below code which is based on another install which works fine. I'm at a loss as to why this wouldn't work. /opt/plesk/php/5.5/bin/php -f /var/www/vhosts/gsworkwear.backup.com/...
0
votes
1answer
559 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 ...
1
vote
1answer
1k views

Cron.sh error: PHP Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'pdo_mysql extension is not installed'

The problem occurs in a Magento 1.9.2.4 installation (upgraded from 1.7.2 and then migrated to this new VPS) Trying to run the cron.sh on a centos VPS (DirectAdmin Controlpanel) This is returns the ...
0
votes
1answer
49 views

Crontab creation failure Magento 2

I am running Magento 2 on MAMP using PHP 5.6.10 and following this tutorial to create the crontab. Magento 2 Setup with Crons When I type sudo crontab -u Phil -e and enter the following... */1 * * *...
2
votes
1answer
165 views

update product inventory and and price by attribute

I need to write a cron job to update my products inventory and price hourly. The variables are these. I have 6000 products with their own IDs which my accounting system uses (not magento). These ...
0
votes
1answer
255 views

Retrieve cronjob_code or other params like schedule info of a cron job inside a cron function? [duplicate]

If cron_job() is my function running the cron job function cron_job(){ // I would like to get the current job_id or the cron schedule model here } Is there any way to retrieve this data in ...
0
votes
2answers
3k views

Magento 2 cron job not re-indexing products as expected

My problem is Magento 2 doesn’t automatically index as I expect from the cron job. I currently have to SSH in and re-index using php bin/magento indexer:reindex , which is fine for me but not for my ...
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 ...
2
votes
1answer
7k views

Auto-generated sitemap.xml on 1.9.2

I have a problem with the auto-generation of my sitemap. I did everything I have written below. I created a sitemap through Admin > Catalog > Google Sitemap option I made the auto-generation setup ...
0
votes
1answer
823 views

Send Custom Email through cron job

I want to send an Email through a cron job. Once the Seller adds new product Customer (Store Followed) I get a mail is working fine. But if for each new product customer will gets a mail then how can ...
3
votes
2answers
4k views

Magento 2: how to use a configuration field for the crontab expression?

In Magento 1, instead of declaring the cron expression directly like this: <crontab> <jobs> <vendor_module_cron> <schedule>*/30 * * * *</schedule&...
0
votes
2answers
323 views

use of cron - magento 2

I have configured the cron by refering this link, yes I have successfully configured. now I can able to see newly created three cron logs file they are magento.cron.log, it is logging like Ran jobs ...
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&...
0
votes
3answers
770 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 ...
1
vote
0answers
134 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 ...
0
votes
2answers
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/...
0
votes
1answer
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 ...
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 ...
1
vote
1answer
404 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 ...
0
votes
1answer
153 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 ...
5
votes
3answers
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> &...
1
vote
2answers
1k 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.
0
votes
1answer
365 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: ...
3
votes
0answers
614 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 ...
1
vote
2answers
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) ...
0
votes
1answer
971 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] ...
7
votes
5answers
12k 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 ...
0
votes
1answer
101 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</...
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 ...
2
votes
1answer
437 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 ...
0
votes
2answers
481 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?
0
votes
0answers
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 ...
1
vote
1answer
205 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 ...
1
vote
1answer
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/...
2
votes
1answer
702 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 ...
0
votes
1answer
924 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 ...
3
votes
1answer
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 ...
2
votes
5answers
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> <...
1
vote
0answers
54 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 ...
0
votes
2answers
5k 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 ...