How do I run a script on startup?

I've got a newbie question. I'm trying to add a script to run on startup and i normally do it through crontab but crontab isn't found? Is there a good way to run something on every startup?

For context the script is just this command xmodmap -e "clear Lock" to allow the caps lock, which I've set to as backspace, to auto repeat when held down
Was this page helpful?