You can import data using your browser and task manager. follow these steps on the Windows server ... Go to Administrative Tools => Task Schedule Click Create Task
Now the Create Task screen will be opened using TAB General, Triggers, Actions, Settings.
On the genral tab, enter the name of the task "Solrdataimport" and in the description enter "Import mysql data"
Now go to the "Triggers" tab. CLick new in the setting "Check" Daily.In "Advanced setup". Repeat the task each ... Put the time there what you want. Click OK.
Now go to the "Actions" button, click the "New button" to install the program / Script "C: \ Program Files (x86) \ Google \ Chrome \ Application \ chrome.exe" is the way to install the chrome browser. Add arguments enter http: // localhost: 8983 / solr / # / collection1 / dataimport // dataimport? Command = full-import & clean = true And click OK
Using all of the above process Data will be imported automatically. If the Imort process stops, follow all the processes described above, just change the / Script "taskkill" program instead of "C: \ Program Files (x86) \ Google \ Chrome \ Application \ chrome.exe" in the "Actions" section. Enter "f in the arguments" / im chrome.exe "
Set trigger times according to requirements
source share