You may want to have certain procedures run at regular intervals from your PrestaShop site. This is known as a cron job. Cron is a time-based job scheduler that is found on Unix servers. Other operating systems refer to a 'cron job' as a 'scheduled task'. In essense it is a sript set to run at specific time intervals. This tutorial explains how to set up and configure the CronTab module, which allows you to be able to set cron jobs for your PrestaShop 1.5.

You will need to download the CronTab module for your shop to your local computer. You can find this module at the PrestShop website. Below is a set of instructions on how to add a Pinterest link to your products in PrestaShop 1.5. Note that the instructions assume you have already downloaded a Pinterest module to your local machine.

Setting up the CronTab module in PrestaShop 1.5

  1. Log into your PrestaShop 1.5 dashboard.
  2. Using the top menu bar, hover over the Modules tab and select the Modules option.
  3. From here you will see the the normal list of the available modules for your store. To upload your CronTab module, look to the upper right corner of the screen and click on the Add New Module button. This will reveal a small section just underneath for the purpose of uploading your module.
    1-upload-crontab
  4. Click the Upload this Module button to have it uploaded into your PrestaShop.
  5. After uploading the module, scroll down until you find the module named Crontab For PrestaShop in the module list. Click on the Install button located to the right of the module's row.
    2-install-crontab
  6. Once installed, you will see a successful installation message on the screen. To continue to the settings area, click on the link named Configure. In the settings screen you will select the Method from the dropdown based on the descriptions given just below. Next, put the path for the cron script in the URL field. The Schedule dropdown allows you to choose from predetermined frequencies or create your own by selecting Other.
    3-fullpage

    The Other setting will present you with a worksheet to construct the frequency the job should run.
    4-other-configuration
  7. Click Save for all areas you have modified to finalize the settings for the module. Your script is now set to run at your specified intervals.
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Comments

Post a comment
n/a Points
2014-04-11 8:46 am

"Server crontab" is the best method but only if your server uses Linux and you have access to crontab. In that case add the line below to your crontab file.

* * * * * php -f /home/myjowc5/public_html/modules/cron/cron_crontab.php

 

Does inmotionhosting server use linux?

Staff
5,482 Points
2014-04-11 11:04 am
Hello Nic,

Thank you for your question. Yes, InMotion Hosting uses all Linux servers.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!