How to refresh metadata through Scheduler?
You can refresh meta data through Scheduler by creating Command Task and you must Schedule it to refresh.
Follow the below steps to refresh meta data
To create Command Task, click on Tasks menu item then it will show Tasks list screen.
Click on “New Command Task” option in Actions panel.
After clicking the “New Command Task” it will create and open New Command Task.
Then click on Command Tab, then change the Command Type to “Refresh”.
Parameters text box will be updating its parameters as per the selected Object. Then click on Save button to Save the changes.
To Schedule Command Task, click on ‘Schedule’ Icon on Actions panel.
To view the executed Command Task, click on “View Activity” tab, then you can see the status of newly created Command Task.