package cactusServer.utils; import java.util.TimerTask; public class Task extends TimerTask{ public void run() { System.out.println("タスクを実行"); } }