Btw, for scheduling, there is also the 'at' tool (atd) which may be a better choice then sleeping. although i'm not sure how exactly it's implemented.