I Need a script that runs an existing script, waits a specified time then runs another existing script
We have an existing script in case that we can 'run now' that will add the user as local admin, but they have to log off or reboot for the change to take effect. We also have a working script that removes admin. What I want to do is create a script that will grant admin, reboot the computer with a warning to the user and countdown, and then reboot. Then this same script sleeps for a specified time like 4 hours, and then calls the admin removal script to run, then warns user with a countdown and then reboots. And When I say countdown I mean "your computer will reboot in 5 minutes, please close save all work. And gives them an option to postpone for 5 minutes then bugs them again, and again until they reboot.