Garden socket box with timer