added scheduler to getDevices.php page.