Create a PHP file named something like: urapidflow-updates.php


This PHP file will execute the uRapidFlow Profile named: Update Qty and Price

*************************************************

<?php
 
// initialize Magento environment
include_once "app/Mage.php";
Mage::app('admin')->setCurrentStore(0);
 
$helper = Mage::helper('urapidflow');

// run profile using ID:
$helper->run(4);

//Delete Updates.csv file after Rapidflow Executes
$path = Mage::getBaseDir().'/var/urapidflow/import/Updates.csv';
unlink($path);

 
****************************************************

Note: You want to use the Profile ID instead of the Profile Name. This way if the Profile Name gets changed it will not break the Cron Job

Note: You need to specify the correct CSV file to delete after Rapidflow Executes

Upload this file to the root folder of the website:

  • For example: /mywebsite.com/html

This will then make the file accessible from your webrowser: www.mywebsite.com/urapidflow-products.php


CRON JOB for Scheduled Tasks

To setup a CRON Job for Nexcess.net login into the Nexcess Control Panel and go to Hosting Features/Cron Jobs

The following Cronjob will run once an hour by putting */1 in the Hour field


Sample Script: /usr/bin/php -f /home/website/mywebsite.com/html/urapidflow-products.php

Sample CURL Script: curl -s -o /dev/null http://www.mywebsite.com/urapidflow-products.php


Note: CURL Script tends to be more reliable, but you need to make sure that you change the URL path to the production URL at Go Live