Tried to run this code in App Engine but got Permission error
new java.util.Timer().schedule(
new java.util.TimerTask() {
@Override
public void run() {
// your code here
list.remove("coo");
}
},
3000
);The above code run periodically every 3 seconds.
I want to do the same in Google App Engine, but do not know how. I heard that we can useThreadManager or Runnable or something likes that.
So, can you give a very simple example of how to run a Thread inside Google Apple Engine?