How to create a simple background script on Solaris

I have a local account for a unix server. The idle timeout for the account is around 10 mins. I have to login to the server multiple times during the day. Is there a way to increase the idle timeout or may be a script that I can run on background so it is not idle. Something like echo date every 9 mins. How can I do this?

Thanks.
Vinay

if you are using putty just set you keepalives to 60 seconds or so. it should keep you from timing out.

login -> at the prompt type --> #TMOUT=0

Setting the TMOUT variable might not be retroactive in old ksh releases. In that case, run this instead:

TMOUT=0 exec ksh