delay for some seconds in script

Hi everybody,

i’m a newbie with applescripts, cron-scripts and stuff like that.
i have two partitions on my mac and i want one of them not to be seen or better
being deactivated for one user.

i’m using a script with this syntax and i’m starting it by the user based startups.

#!/bin/sh
diskutil unmount /Volumes/MyVolume1
exit

and it works fine when i’m testing it.
unfortunately the drive is still there after booting.
i think its because the script runs prior the mounting of the volume.
so i want to delay the script for some seconds.
but i dont know how and i cant find anything.

thanks for your help.
Martin

Model: iMac G5
Browser: Internet Explorer 6.0
Operating System: Mac OS X (10.4)

sleep seconds

E.g., wait one minute: sleep 60

:Dthanks guardian34,
it works perfect.i’ve tried delay,but thats only working in applescripts,right!?!

Martin