Timer

Is there a way to make a timer?
E.g Please give the seconds...
...

You should probably provide more information. Do you want to time something specific like a script? What do you want the timer to do?

i want the user to give a parameter in seconds and every x seconds to check for any logins or logouts.if you have a better way to do this it is acceptable.
thanks

This might help -- it prints "Hello." every X seconds. Ctrl-C to stop.

sayhello.sh:

#!/bin/ksh

print -n "Enter seconds: "
read seconds
while :; do
  print "Hello."
  sleep $seconds
done

Anything for tcsh.thanks again

Sorry, tcsh is not my bag. Someone else will need to help you with that.

I have a script that execute every one minute for checking new files in a folder and converting to pdf.
Is there any way to start this script automatically on linux startup?