I need to setup the cron job to update the prices of the products daily. So I tried like this in command prompt first,
php magmi.cli.php -profile=default -mode=update -CSV:filename="/path/magento/var/import/Price.csv"
It is showing the following errors:
fopen(/var/www/html/magento/magmi/state/progress.txt): failed to open stream: Permission denied in /path/magento/magmi/inc/magmi_loggers.php on line 20
PHP Fatal error: Uncaught exception 'Exception' with message 'CANNOT WRITE PROGRESS FILE ' in /path/magento/magmi/inc/magmi_loggers.php:23
It's permission issue:
This folder /var/www/html/magento/magmi/state/ and all it's contents should be given either 777 or 755 permission.
Run the following command:
If you still have some problems then try