@Override
    public void run() {
        while (true) {
            try {
                while (true)
                {
                    Thread.sleep(20000);
                    dbConnect("jdbc:jtds:sqlserver://localhost/CCM0300", "mourad", "anis@@ct");
                }
            } catch (InterruptedException e) {
                Logger.getLogger(CallmanagerCDR.class.getName()).log(Level.SEVERE, null, e);
            }
        }
    }