InMotion Hosting Support Center

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.
  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.
  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.

    The Other setting will present you with a worksheet to construct the frequency the job should run.
  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.
Continued Education in Course Prestashop 1.5
You are viewing Section 31: 336: How to set up the CronTab module in PrestaShop 1.5
Section 30: 337: How to change your shop URL in PrestaShop 1.5
Section 32: 324: Install and configure the Newsletter module in PrestaShop 1.5

Support Center Login

Social Media Login

Social Login Joomla

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
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?

19,800 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,

n/a Points
2014-05-21 4:03 am

I have my own custom module with my own functions to export/import prestashop's products via xml file, should i create a php file including my php module file and then, execute the function to start import my products?

11,186 Points
2014-05-21 8:20 am
Unfortunately, your question is a bit unclear. Could you clarify it a bit for me?
n/a Points
2014-09-01 5:14 am

Hello, is this module independent of hosting?

My hosting charge for cron tab.


19,800 Points
2014-09-02 12:23 pm
Hello Fer,

Thank you for contacting us. We do not charge for using the CronTab module in PrestaShop.

With InMotion Hosting, you can also setup Cron Jobs in cpanel.

Thank you,
n/a Points
2014-09-29 9:41 pm

Hello guys!

How can I set my Prestashop cron job for the following links on cPanle Cron Job?

Layered Navigation Block 

rebuild price index

Please HELP !!!

19,800 Points
2014-09-30 11:49 am
Hello dabluesfreak,

Thank you for your question. Here is a link to our guide on How to run a cron job in cPanel.

We are happy to help, but it is unclear what you are trying to accomplish.

Can you provide more details?

Can you share a link to a guide you are following?

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

Thank you,
n/a Points
2014-10-13 5:18 am


I install this module on my Prestashop site. 

I did not understand how setup URL, where i find it? Or what is it?

I hope you can help me.

Thank you

19,800 Points
2014-10-13 8:35 am
Hello Giovanna,

Thank you for your question. In the URL field, you should put the address of the cron script, or whatever you are trying to run in the cron job.

For example, if your script.php is located in the /public_html folder, you would call it in like this:

What task do you want to run in the cron job?

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

Thank you,
n/a Points
2014-10-28 1:29 pm

I followed the steps, enabled  the test job for testing configuration but the test cron job does not running. Prestashop on Linux.  

cron test * * * * * Never

Any help would be appreciated.

Thanks in advance.

19,800 Points
2014-10-28 1:43 pm
Hello Cookie,

Thank you for contacting us. We are happy to help, but will need some additional information to troubleshoot the problem.

Are you getting any errors? What are they? Turning on Error Reporting in PrestaShop can help provide a more detailed error.

You can then review the error logs for problems.

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

Thank you,
n/a Points
2015-06-16 1:34 pm


I have multiple suppliers, can i set up cron job for each supplier in the same store?

Thank you

7,008 Points
2015-06-17 1:03 am
Hello Adriana,

If you would normally setup a cron job for one supplier then yes, you can create a cron job for each of the suppliers for your website.

Best Regards,
TJ Edens
n/a Points
2015-10-26 1:27 pm



I've setup a Cron Task with cronjobs module.

For  target link I specified

wich I got from advancedexport module.


The goal would be to be able to inform a feed, where I would have a daily update of product listing. 


But after runing the cron task, I don't know what is the link that results from the task.


Can you please help ?

Thank you.

José Almeida


31,565 Points
2015-10-26 2:16 pm
Hello Jose,

What are you getting as a return?

Kindest Regards,
Scott M
n/a Points
2015-10-29 12:11 pm

Hello Scott M,


I'm not getting anything. The Cron task states it never done any task.

I guess I shoud be able to save to server first, and the it would be possible to set a cron job. But I don't know what is the "Hostname" , "Username" , "Password" fields in advancedexport module.

Thanks for help.


José Almeida

n/a Points
2015-10-27 9:52 am

i have a module and a xml file . with this i have to create a menu  for setting to cron jobs.

7,008 Points
2015-10-27 10:10 pm
Hello Rameez ,

Can you please provide more detail of what you need to do?

Best Regards,
TJ Edens
488 Points
2015-10-28 8:10 am
Rameez, we need to know more specifically what you are doing. Are you trying to create a menu for creating cron jobs?
n/a Points
2015-10-28 9:06 am

actually i have to import a xml file that could be set cron job. 

if still you not getting my point. please contact me on skype id -

28,417 Points
2015-10-28 10:14 am
Hello Rameez Sheikh,

Sorry for the problem with the cron job. We unfortunately do not provide coding support. If you require help with creating a cron job, you can find more information here. Apologies that we can't provide for your problem, but if you feel your question can be answered otherwise, please provide us more details on the issue for assistance. We unfortunately cannot skype with you in order to get more information.

If you have any further questions or comments, please let us know.

Arnel C.
n/a Points
2015-10-30 8:41 am

i wants a prestashop module to import the data like products and catagories with cron task inbuild cron details will be provided by user like time and date for cron task.

import will be through xml data file it will be from url and from desktop both.

all the data will be stored in prestashop database and updated by cron on every execution.

here complte details that i want to amke . my question is what is flow for this task step first to step last  

28,417 Points
2015-10-30 10:08 am
Hello Rameez Sheikh,

You're basically asking for a solution to how to build your cron job and scripts for your import request. Part of coding is determining the flow. We unfortunately cannot provide you a coding solution - you may need to speak with a developer who can provide this solution for you. Trying to provide a flow based on what you have already written is the job of the developer.

There are many 3rd party modules that you can obtain from PrestaShop that can import categories and products. Check out Import Module as an example.

I hope this helps to answer your question, please let us know if you require any further assistance.

Arnel C.

Post a Comment

Email Address:
Phone Number:

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

24 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


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:
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!