Type crontab -l to see your cron jobs. Type crontab -e to edit them. You have to use Vim apparently.
Add a line like this:
0,30	*	*	*	*	/Users/YOURNAME/Documents/scripts/stretch.sh
That is on every 0th and 30th minute of the hour. Make sure all the separators in there are tabs!
I'm not 100% sure, but I believe
crontab -eis using whatever is set as$EDITORfor the shell session. This is usuallyvim, I think. If you preferredemacs, then what I've done is:Some versions of Ubuntu may favor $SELECTED_EDITOR, which I believe is set by the
selected-editorcommand (stored in~/.selected_editor, or you could try using$VISUALlike shown here). I think the path shown would make me guess you're on MacOS though.