The CSV import file used to update your products via a CRON task is located on a distant URL.
Below is the data you will need to add to the CRON php configuration file to apply the process.
First of all, you need to set up the configuration file on your server. Refer to this article for the detailed procedure.
To then fetch the CSV file on a distant URL, add the following lines to the php configuration file, from the 2nd line:
$file_url = 'http://adresseDuFichier'; $file_name = 'votreFichierCSV.csv'; $data = file_get_contents($file_url); file_put_contents('../../import/'.$file_name, $data); unset($data);
The name of your local CSV file will need to be the one indicated in this setting:
$_GET['filename'] = 'file_to_import.csv';
Download our themed Guides to learn how to manage your shop at lightning speed with Store Commander.