Magento How to set cron job using SSH account
In this post I will show you how to set cron job for cron.php file to run in every 5 minutes.
Please follows the steps below...
Please follows the steps below...
Step 1: Open SSH window and log in using your account detail.
Step 2: Check if already there any crons set for this server.
ssh>> export VISUAL=nano; crontab -e
You can see if there any cron after executing the above command.
Step 3: Copy paste below command and execute.
*/5 * * * * /usr/bin/php -f /var/www/urprojectfolder/www/cron.php
Step 4: Run below command to save and exit.
ssh>> CTRL+X
ssh>> Y
You are done!!!
Note::
You can set other crons same as above but please confirm your cron file path.
You can check if your cron set properly or not by running below command again.
ssh>> export VISUAL=nano; crontab -e
Magento How to set cron job using SSH account
Reviewed by Web Technology Funda
on
12:06:00 AM
Rating:
No comments