How to create a CRON task?

If you are not comfortable with technical area, please ask your webmaster for help.

 

Here are two ways to set up a CRON task:

 

Setting up via crontab (for users with technical / Linux knowledge)

 

CRON tasks are usually set up by editing a crontab file and adding a line.

To schedule a URL request (HTTP method): use a text browser such as lynx or a wget or curl command to request the URL through the web server. Copy the task URL from the module back office; do not replace it with the physical path to the PHP file.

Some modules also provide a PHP CLI command designed to run from the command line. In that case, follow the command and arguments supplied by the module, using the PHP environment required by the shop. The instruction to use a URL applies to the HTTP method and does not prohibit these documented CLI commands.

Configure this CRON's line by using the CRON's URL copied from your back-office and by deciding on the frequency (cycle) of updates. Go to this website for a detailled explanation of cycles.

 

---> For more information about the crontab program, click here

 

Of course, if you choosed to set up a CRON task for each feed, you have to configure as many CRON lines as there are different feed URLs.

 

Setting up via an online service

 

There are also free online services, such as easycron, allowing you to create a CRON task very easily. You will just need to enter your CRON's URLs, and schedule them, after registration.