in reply to Kill a script at a certain time

One way of achieving what you want is this. Make the script write its PID to a file which is be to read by a second script to send a "kill -9 PID". The killer script, which can be launched by crontab, can simply do this:

kill -9 `cat script.pid`

Djoao.