You could make a shell script (which I will call
sendtime) like this:
Code:
#!/bin/bash
while true
do
date >> /tmp/log
sleep 5
done
Make it executable with
chmod u+x sendtime. Then you start it in the background with
./sendtime &.
There are ways to make it automatically start up when you start the computer or when you log in. If that was what you wanted, you'll have to wait for somebody more knowledgeable.