Running uRapidFlow profiles using cron job
- urapidflow.php
<?php
// initialize Magento environment
include_once "app/Mage.php";
Mage::app('admin')->setCurrentStore(0);
$helper = Mage::helper('urapidflow');
// run profile using ID:
$helper->run(12);
// run profile using name:
$helper->run("Import Products");
// create a batch export:
$helper->run("Export EAV");
$helper->run("Export Categories");
$helper->run("Export Products");
$helper->run("Export Product Extra Data");
# daily import
0 1 * * * /usr/bin/php -f /magento/root/urapidflow.php
# OR
0 2 * * * /usr/bin/lynx -dump http://localhost/magento/urapidflow.php