Questions tagged [cron]

Denotes a question related to the cron system

Filter by
Sorted by
Tagged with
1
vote
1answer
401 views

Catalog Price Rules not working / accessing Cron.php results in 503

I'm working on a store with about 80,000 skus, on a quad-core dedicated server with 12GB ram and applying a Catalog Price Rule is just not working for some reason. No discounts show, even after i've ...
4
votes
2answers
2k views

cron.php running twice even though cron.sh runs once

I have a cron job set up to run the cron.sh file every 5 minutes, as per the installation guide. I have checked the server's cron log history and it is correctly running the job on schedule. I added ...
0
votes
1answer
2k views

Getting Fatal Error from Cron php script but runs 100% in browser

I have a custom dataflow export script that when i run via the browser it works 100% no issue. But soon as i add it to a cron i get a fatal error in my email report "Fatal error: Class 'Mage' not ...
0
votes
1answer
2k views

-malways versus -mdefault on for EE 1.13

What is the correct cron setting for Magento 1.13 to ensure Cache does NOT invalidate itself. * * * * * /usr/bin/php html/cron.php -mdefault or * * * * * /usr/bin/php html/cron.php -malways I am ...
-1
votes
1answer
286 views

How to Magento cron setup

I have Magento 1.9. community edition running. I want to run product export automatically using datafeedmanager. I have setup cron jon in datafeed manager but cron is not running. Please help me to ...
1
vote
2answers
515 views

Create order with cron job with SKU and customer_id given

Is there a way where we can create an order with a cron job? I need this because, the product which I sell is a prepaid subscription(a simple magento product). Which after payment, I convert it into ...
0
votes
1answer
175 views

Dynamic Tier Price Update Cron

The store is selling gold products that has dynamic pricing, the pricing will change based on the international gold price. The base price is dynamic but recently we added tier pricing and how can ...
1
vote
1answer
495 views

Setting up Magento Cron for selected indexing

Magento 1.8 How can I setup a cron job for Indexing particularly Product Prices? This is my current cron script but it doesn't seem to run 4 * * * * php -f /shell/indexer.php reindexall
1
vote
1answer
308 views

Magento cron not working properly

When I use expression */1 * * * * // Every minute it works fine. But when I use * */24 * * * // Every 24 hours or 0 0 * * * // Midnight or 30 9 * * * // 9:30 AM it does not work. Could ...
0
votes
1answer
909 views

SQLSTATE[23000]: Integrity constraint Error when updating products via CRON

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`magento_database`.`catalog_product_entity_media_gallery_value`, CONSTRAINT `...
1
vote
1answer
459 views

Cronjob with Cron.php

in my Magento Store I need to set some Cron to: - Run maintenance.php - Apply Catalog Rule and after that Refresh Cache - Refresh Sitemaps My hosting create a curl to cron.php but I don't know how to ...
1
vote
1answer
247 views

admin session username when in cron

When you are working in the adminhtml backend of your module, this code returns the username of the currently logged in user: Mage::getSingleton('admin/session')->getUser()->getUsername() What ...
1
vote
3answers
865 views

Magento Cron will not execute. Invalid Callback error

I cannot get my custom module to recognize my model. AM/Cron/etc/config.xml <?xml version="1.0"?> <config> <modules> <AM_Cron> ...
1
vote
1answer
521 views

My cron job and cron.php fails?

Hope some of your clever magento guys can help me :) I have a custom plugin with a mobil case designer - when an order is placed and the payment are registered, cron should automaticly send this ...
3
votes
2answers
439 views

Cron issue with apc cache

When i try to launch cron on magento 1.9.0.1 in crontab, I have this error : ...can't get apc memory size... In my apc.ini, I have "apc.enabled=1", "apc.enable_cli = 0". I know, I need to have "apc....
1
vote
1answer
325 views

Getting error: find: missing argument to `-exec' when using cron job to remove temp files [closed]

I am trying to create a cron job that deletes any temp files after certain periods of time. In crontab I have this: MAILTO:="my@e-mail.com" @hourly /var/www/magento/cache.sh And in cache.sh there ...
1
vote
1answer
2k views

Delete Newsletters out of queue in admin panal

Help! Can someone please tell me how to delete unsent newsletters out of the admin panel in Magento? I want to get rid of all of these except the one that is sent. Thanks much.
3
votes
1answer
1k views

Sitemap.xml missing

I've CE 1.8.0 and cron is working, sitemap is enabled an database table cron_schedule says sitemap_generate success. But sitemap.xml file is missing? What folder it should locate? What do I miss or ...
2
votes
0answers
283 views

Cronjobs Reporting Negative Execution Times?

I'm getting a fairly weird result trying to check the status of my Magento store's cron jobs. I tried installing both AOE Scheduler and Noovias Cronjob Manager. Both of them give me something like ...
2
votes
1answer
1k views

Schedule cron for multiple stores

I'm trying to execute a cron (that disables certain products) on a per store basis, with timing set in the backend. I have been looking at: http://inchoo.net/ecommerce/magento-configurable-cron/ and ...
0
votes
2answers
184 views

using cron.php in magento without using crond

I have to use this extension and I haven't access to cron jobs in my hosting. I read that is possible to use cron.php also without access to cron jobs, how can I do this task?
4
votes
2answers
3k views

Can't get cron to work

I try to set up cron to generate my site map. I defined the google sitemap in catalog > google sitemap. I also defined the system > configuration > catalog > google sitemap generation to every day ...
3
votes
2answers
7k views

Schedule cron job every four hours

Can you tell me expression for magento cron schedule to run script every 4 hours - every day. I tried: <schedule><cron_expr>0 */4 * * *</cron_expr></schedule> But job is not ...
2
votes
1answer
158 views

Long Running Magento cron

I've been noticing the Magento cron job running for over 10 hours now. An strace only shows polls. However I do see the following query running SELECT `e`.*, `at_visibility`.`value` AS `...
2
votes
2answers
1k views

send new order email with cron job only

I want to disable the default new order email sending functionality and instead I want to send this email with cron job only. How can I identify, if the new order is placed and send email ?
1
vote
1answer
366 views

Running a cron job on a specific config

I have created a config in the backend under System > Config. The configuration allows the user to essentially turn the store on or off (it displays a message that the store is closed, and disables ...
2
votes
0answers
352 views

Is it possible to determine the process id of specific entry in cron_schedule? [closed]

I'm working on troubleshooting and cleaning up problematic cron jobs. It's fairly often for some jobs to fail and leave their entry with a status of running in cron_schedule. Meanwhile there are ...
4
votes
2answers
1k views

CatalogRule not appearing in cron_schedule table

I am on Magento CE 1.9.0.1 I sat a Catalog Price Rule, saved and applied it, and it works correctly. Anyway, after a day it disappear. I understood the cron logic, and went to check the cron_schedule ...
0
votes
1answer
197 views

MySQL Time + Cron Problem

I'm trying to create a new cron tab on the fly, and running into problems with the times created by the cron model. Here is an example: So first let's use config.xml to create some cron tabs: <...
4
votes
1answer
632 views

Why there is a unsubscribe from product in a product stock alert e-mail?

A product stock alert is a "single e-mail sent" notification. Nevertheless, I wonder why in the e-mail message there is a link to unsubscribe from the product, although the record in ...
1
vote
1answer
42 views

What's the preferred way of storing static calculation results in Magento?

What's the best way of storing calculation results in Magento ? Example: I need to calculate total number of active products in each category and show the results in the menu, for that purpose, I ...
2
votes
2answers
1k views

Cronjobs not working sometimes

I am working on Magento cron jobs issue. We have 50+ cron jobs in system which are scheduled and runs 24/7. But, there are some cron jobs like aoescheduler_heartbeat, aoecachecleaner, aoequotecleaner ...
2
votes
1answer
1k views

What config.xml settings can be set in the database?

I'm looking to learn more about the internals of Magento! I recently used Inchoo's tutorial to allow administrators to set a crontab schedule from System > Configuration. See it here. In it, I ...
3
votes
1answer
2k views

How to override crontab of existing module

I dont want Mage_Newsletter to constantly send out email, so I create a custom module inside local to take out the cron, #/var/www/html/public_html/app/code/local/MyComp/CustomConfig/etc/config.xml &...
0
votes
1answer
292 views

Do we setup cron base on local time or UTC time

I have a system cron that run every 15 minutes that invoke the magento cron.sh. Inside the magento module config.xml, I setup crontab to run at 1 am <crontab> <jobs> <...
4
votes
2answers
3k views

Cron job template block not being translated, but testObserver is

I am configuring a product out of stock notification / alert, and I'm having an issue with localization / translation (pt_BR) in Magento CE 1.9.0.1. The email/productalert/stock.phtml block isn't ...
1
vote
1answer
2k views

Cronjobs error - MySQL server has gone away

we suddenly have an error in the cronjob. error message: a:4:{i:0;s:63:"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away";i:1;s:1334:"#0 /html/magento/lib/Zend/Db/Adapter/Pdo/Abstract....
2
votes
1answer
468 views

Nginx user for cron.sh in Mavericks

I noticed that the nginx processes have two different users: root is the user which runs the master process, and nobody is the default one for workers. To which user must I place the cron job ? I ...
1
vote
2answers
2k views

Update Order Status using Cron Job

I am trying to setup a Cron to automatically update order statuses that have a are in a "Processing" state in Magento. Here is what I have so far config.xml <orders> <...
1
vote
3answers
12k views

Cron jobs are not working

I was created the Cron jobs it is showing on admin panel and I have set the time also, but it is not running. my code is system.xml <?xml version="1.0"?> <config> <tabs> ...
0
votes
4answers
434 views

how to Set up database values to crontab jobs in magento

in my config.xml file have crontab ..... <crontab> <jobs> <autoreplenish_test> <schedule> <...
0
votes
1answer
290 views

Creating Cron Jobs in magento?

I am new to magento, I have created the Module which is Auto Replenish. Here admin can schedule orders based on user conviviality like Daily,Weekly,Monthly or Yearly. For this I have written the code ...
3
votes
2answers
7k views

cron job asterisk meaning

I'm a little bit confused about cron job parameters. I'm using bitnami magento installation on amazon azure. I found that if I want to run cron tasks I have to configure cron job and there is this ...
4
votes
1answer
1k views

Some cron jobs are just skipped

I have some cron jobs which are just not run according to the AOE_Scheduler module. What can be the reason? Some others are running so it does not seem to be a general problem.
1
vote
2answers
888 views

Export daily sales report via command line

I was curious if there is a way to export sales reports to a CSV via the command line. I can handle the cron setup to make it run daily, I'm just curious how you would go about doing this in the shell....
0
votes
2answers
676 views

run a cron for magento specific mode

i've a module, here is a config.xml installed on a magento 1.8, 0.1.0 <admin> <routers> <...
2
votes
2answers
567 views

Send an email a month after order is “complete”?

I neeed a recommendation on what's the best way to send an email 1 month after order is completed (it's an email that asks to review the product). Should I use cronjob and check every day for orders ...
-1
votes
3answers
1k views

how to use cron.php without setting in control panel?

Is this possible to run and use cron.php without set command in cronjob in control panel or shell ? I have crontab in my config.xml file and need to use it but want my module run cron without setting ...
5
votes
1answer
2k views

Duplicated cron jobs at same `scheduled_at` from different `created_at` times

What makes a cron job to be scheduled multiple times on the same scheduled_at time but by at different created_at times? See below. I'm having problems with repeated jobs never finishing. Cron ...
1
vote
1answer
1k views

cron job not working

Have a cronjob in my extension config.xml file but seems do not run and function don't load What is wrong here?? config.xml : <?xml version="1.0"?> <config> <global> &...