// mark the task as running on this node so that it doesn't
// also run somewhere else
dataService.markForUpdate(ptask);
ptask.setRunningNode(nodeId);
RecurringTaskHandle handle =
transactionScheduler.scheduleRecurringTask(
runner, identity,
watchdogService.getSystemTimeMillis(restartTime),
ptask.getPeriod());
ctxFactory.joinTransaction().