Guest User

Untitled

a guest
Jan 24th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. public void startLicMonitor(){
  2. if(licTimer == null){
  3. licTimer = new LicenseTimerTask();
  4. }
  5. timer.scheduleAtFixedRate(licTimer, 0, 60 * 60 * 1000);
  6.  
  7. private class LicenseTimerTask extends TimerTask {
  8.  
  9. @Override
  10. public void run(){
  11. check_Status();
  12. }
  13. }
Add Comment
Please, Sign In to add comment