Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Magento : how to run cron manually in local machine?

Tags:

cron

magento

I want to run the Magento cron by manually . I can remember in Drupal we can do it manually without setting the cron job in the server. Same like i want to do run the magento's cron in my local system. How i can do this??

like image 665
Arung Avatar asked Apr 26 '11 12:04

Arung


People also ask

How do I run a cron job locally?

Log into your server via SSH using the Shell user you wish to create the cron job under. Once logged in, run the following command to open your crontab file. After you add your email (or leave it blank), you must choose which text editor you'd like to use. You are then asked to choose an editor to view this file.

Do Cronjobs run automatically?

The cron reads the crontab (cron tables) for running predefined scripts. By using a specific syntax, you can configure a cron job to schedule scripts or other commands to run automatically.


1 Answers

use your browser to hit http://yourdomain.com/cron.php or php-cli to execute cron.php in the root of the application.

like image 132
Jonathan Day Avatar answered Sep 20 '22 14:09

Jonathan Day