You are here:  » fetch.php


fetch.php

Fetch all feeds, or the specified feed.

Description

fetch.php [@ALL|<filename>]

This command line script fetches the specified feed(s) that have jobs configured for them using the Automation Tool. The script takes a single parameter. Either specify a filename, or use @ALL to fetch all feeds.

Examples (Command Line)

php fetch.php @ALL
php fetch.php MerchantName.xml

Examples (crontab)

cd /home/username/public_html/scripts/;/usr/bin/php fetch.php @ALL
cd /home/username/public_html/scripts/;/usr/bin/php fetch.php MerchantName.xml