PHP class to execute files by rotation