Auto Refresh/calling Of Controller Action

In Yii application controller, an action used for xml url parsing and insertion into database table. After a time interval i want to check the updates in the xml url, so call the controller action. In this i want to refresh or call the controller action automatically. In Yii which is the best way for perform this auto calling of controller action in local and server side?

You can use AJAX here. After insertion in database you can add javascript code in your template file to check back in database.