Questions tagged [cron]

Denotes a question related to the cron system

This tag should be used for questions related to the cron system: adding crons, disabling crons, configuring crons.

1011 questions
28
votes
1 answer

Which cron script is best to run? cron.php or cron.sh

Magento provides two cron scripts in its root directory, cron.php and cron.sh. Which one is the better to run and why?
Joe
  • 445
  • 1
  • 4
  • 9
10
votes
3 answers

Magento cron.php Does Nothing After it Runs

My Magento cron works normally about a few months ago. But recently, it suddenly stop generating schedule. The cron command itself running fine in my hosting server. It is Magento ver 1.8.0.0. These are what I have tried: I try executing cron.php…
Wakanina
  • 764
  • 2
  • 13
  • 25
6
votes
1 answer

Cron Task Scheduler Issue - Last heartbeat is older than x minutes

We are using AOE cron scheduler from Fabrizio Branca. My scheduled tasks are loading, cron working fine etc. When I look at the timeline or list view, the jobs are loading successfully. But all of a sudden we are seeing the error message: Last…
MagentoMac
  • 1,042
  • 5
  • 19
  • 40
5
votes
2 answers

Is there an AOE Scheduler for magento 2?

Or some equivalent? It would be a great module to have for m2, no?
Head
  • 177
  • 11
  • 27
4
votes
1 answer

Will start using cron jobs after two years result in problems?

I would like to start using the magento cronjob to send out review reminders automatically. Cron jobs have never run before (since its installation two years ago) on this installation if I'm correct. I wonder what will happen. Can this result in…
SPRBRN
  • 1,307
  • 6
  • 19
  • 33
4
votes
1 answer

cron job never ends

A few days ago, I started to get a large number of cron errors "Too late for the schedule". Now that I have time to investigate - I see that the task "newsletter_send_all" is never ending/always running. According to AOESchuduler, it started on…
egg
  • 499
  • 7
  • 26
4
votes
4 answers

Cron expression for every 23 hours

I want to run a script every 23 hours. following syntax tried but its not working. is it right syntax for 23 hours: 0 0,23,46,69,92,115 * * *
Sivakumar K
  • 2,013
  • 9
  • 27
  • 43
4
votes
2 answers

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 file_put_contents('cronlog.txt', date('c') . "\n",…
Walf
  • 319
  • 2
  • 11
4
votes
2 answers

set up cron using config.xml

Hi i am tring to set up cron in magento using config.xml. but anyreason its not working, Here is the code which i am using. config.xml
gks
  • 464
  • 4
  • 13
3
votes
2 answers

Magento cron in a cluster environment

I've got two app servers that are load balanced by a third server. Right now I've got Magento's cron setup on just one of the app servers. The problem is that I want to turn on Magento sitemap cron job. However, since cron is only setup on one app…
Mike Levy
  • 795
  • 5
  • 15
3
votes
1 answer

Why are my emails getting queued?

When purchasing something the order goes through on the website the money gets removed from my account but I don't get an email confirmation to confirm my purchase, but I get other emails like wishlist suggestions newsletter etc not at the same time…
MrJoshFisher
  • 195
  • 12
3
votes
1 answer

Cron.php do not start the cronjobs

I had a question about Magento 1.8.1.0. For some reason not start in our Magento installation, the cron jobs. On the server side, we start the cron.php. To be sure, we have another cron job started on the server side on a test file. This works…
htausw
  • 145
  • 1
  • 9
3
votes
2 answers

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: 0 */4 * * * But job is not showing in cron_schedule table
Milos
  • 187
  • 3
  • 6
3
votes
2 answers

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 line * * * * * su daemon -c "/bin/sh…
intentarr
  • 365
  • 1
  • 5
  • 14
2
votes
1 answer

How to correctly setup the cron jobs for sending of the Order Confirmation Emails?

I´m trying to fix the issue with Order Confirmation Emails being delayed by 20 minutes or so...I asked the hosting company to set up the cron jobs correctly and they replied this: If the Magento shopping cart is using some kind of script that is…
Allysin
  • 250
  • 1
  • 23
  • 72
1
2 3