clacker
Group: Members
Posts: 570
Joined: June 2004 |
|
Posted: Sep. 13 2005,02:59 |
|
This is as crude as you can get, so take it for what it's worth. You can use the sleep command to basically pause for a period os time before executing the next command. So if you made the following file called starmeup:
Code Sample | #!/bin/bash sleep 3600 echo "wake up!!!"
|
and then type chmod 777 startmeup. Now when you type startmeup and the program is in your current path it will run the echo command in 3600 seconds (1 hour).
The more civilized approach is to use cron to run a job at a particular time. DSL doesn't come with cron, but you can get it from debian.
|