Hi All,
We have a script that we locally install on each computer. Does anybody know how I can add a delay so the user has time to type in their password to mount network disks before terminal automatically closes?
Thanks.
Hi All,
We have a script that we locally install on each computer. Does anybody know how I can add a delay so the user has time to type in their password to mount network disks before terminal automatically closes?
Thanks.
Best answer by jack_bishop
Here's one way:
sleep 1800 && osascript -e 'tell application "Terminal" to quit'
The 1800 is seconds. Probably longer than you need, but you get the idea
Is there a reason you are using terminal for password input?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.