Add periodic task system.