I need to get the top menu html is cron job and need to save it in the db. I used the the same functionalities as in the core to get the top menu in my cron job function. But the problem is I need to top menu for each store.
Below is the core function specifying the menu
$this->_menu = new Varien_Data_Tree_Node(array(), 'root', new Varien_Data_Tree());
Is there a way to set the particular store and the respective topmenu html?