function ol_search_open_learn_cron()
{
    require 'update_cron.class.php';
    //$db_handle = mysql_connect(DB_HOST.":".DB_PORT, DB_USER, DB_PASSWORD);
    //$db_found = mysql_select_db(DB_NAME, $db_handle);
    global $db;
    $db_handle = $db;
    //Create object of update class which is used for updating database
    $obj = new Update();
    $qry = "SELECT * FROM " . TABLE_PREFIX . "config WHERE name='ol_last_updation'";
    $r1 = mysql_query($qry, $db_handle);
    $res1 = mysql_fetch_assoc($r1);
    $qry = "SELECT * FROM " . TABLE_PREFIX . "config WHERE name='ol_url'";
    $r2 = mysql_query($qry, $db_handle);
    $res2 = mysql_fetch_assoc($r2);
    $qry = "SELECT * FROM " . TABLE_PREFIX . "config WHERE name='ol_base_url'";
    $r3 = mysql_query($qry, $db_handle);
    $res3 = mysql_fetch_assoc($r3);
    $obj->parse($res1['value'], $res2['value'], $db_handle, TABLE_PREFIX, $res3['value']);
}