private synchronized void renewActionFile() {
try {
logger.log(Level.INFO, "Scheduling action renewal task for every " + (ACTION_RENEWAL_INTERVAL/60/1000) + " minutes, for " + actionFile + " ...");
ActionRemoteFile oldActionFile = actionFile;
ActionRemoteFile newActionFile = new ActionRemoteFile(oldActionFile.getOperationName(), oldActionFile.getClientName(), System.currentTimeMillis());
uploadActionFile(newActionFile);
deleteActionFile(oldActionFile);
actionFile = newActionFile;