This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
urapidflow:run_scheduled [2010/02/28 20:20] unirgy |
urapidflow:run_scheduled [2016/12/02 17:15] (current) jamby77 |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Running uRapidFlow profiles using cron job ====== | ||
| + | |||
| + | <file php urapidflow.php> | ||
| + | <?php | ||
| + | |||
| + | // initialize Magento environment | ||
| + | include_once " | ||
| + | Mage:: | ||
| + | |||
| + | $helper = Mage:: | ||
| + | |||
| + | // run profile using ID: | ||
| + | $helper-> | ||
| + | |||
| + | // run profile using name: | ||
| + | $helper-> | ||
| + | |||
| + | // create a batch export: | ||
| + | $helper-> | ||
| + | $helper-> | ||
| + | $helper-> | ||
| + | $helper-> | ||
| + | </ | ||
| + | |||
| + | <file cron> | ||
| + | # daily import | ||
| + | 0 1 * * * / | ||
| + | # OR | ||
| + | 0 2 * * * / | ||
| + | </ | ||