I successfully added this to cron.
cd "/opt/smw/core/extensions/SemanticMediaWiki/maintenance"; export MW_INSTALL_PATH="/opt/smw/core" && nice -10 php SMW_refreshData.php -v -n 1000 --startidfile /var/run/smw/smwrefresh-startid > /var/log/smw/smwrefreshdata.log
But for some IDs, I get the error - "Could not get URL after 3 tries."
Should I be concerned about this error? Or will runJobs ultimately take care of them too?
Thanks!
- Nice -10 is high priority. Do you really mean this?
This was actually never answered. I just ran into this too. This comes from the External Data extension unsuccessfully trying to fetch data from the external source, which is no longer there. See system message "externaldata-db-could-not-get-url". Thus this has nothing to do with SMW. I just pops up during the data rebuild since the respective pages are being parsed.