I need to schedule a task to run in at fixed interval of time. How can I do this with support of long intervals (for example on each 8 hours)?
I\'m currently using <
Do something every one second
Timer timer = new Timer(); timer.schedule(new TimerTask() { @Override public void run() { //code } }, 0, 1000);