I’ve just written a script for MAGMI datapump API to import products from an XML feed. All is working fine when I call the script through my web browser, except that it will often time out (I’m using NGINX - I get “504 Gateway Time-out”.
Could somebody show me how I can call my script from the command line? I tried “php ./integration/scripts/import.php” but that brought up notices and eventually an error “could not open input file: shell/indexer”.
Then, I looked at /magmi/inc/fshelper.php and /magmi/plugins/base/general/reindex/magmi_reindexing_plugin.php and found out that method exec_cmd looks uncomplete.
In my case this is it