I would try to automate import.php @MODIFIED using a cron job.
Well, i have created an automated.sh file:
#!/bin/sh
/usr/bin/php -f /var/www/vhosts/mysite.com/httpdocs/shopping/scripts/import.php @MODIFIED
It seems that it does not understands @MODIFIED parameter, since the cron mails me:
backfilling reviews... backfilling reviews...[done]
I have tried to input
/usr/bin/php -f /var/www/vhosts/mysite.com/httpdocs/shopping/scripts/import.php @MODIFIED
Thank's a lot
Hi,
Your cron job email alert system is probably only sending you the last line of the output, which is always the "Backfilling Reviews" message, so it would seem that it is working in both cases. If import.php didn't know what to do you would get the help message instead of "Backfilling Reviews".
To confirm that it is working, you need to compare the file timestamps in your feed directory with the imported time shown in the admin page - that should confirm that any modified (or all if using @ALL) feeds have been imported correctly.
Cheers,
David.