Removed long dashes and replaced with regular dash as code did not work ...

When you copy and paste the code from github, the dashes/minus signs for the command line arguments are not regular dashes, which means the code doesn't run on the Pi:

Your code as copied and pasted from github (doesn't work):
raspistill –o test_%04d.jpg –tl 10000 –t 600000

Corrected code:
raspistill -o test_%04d.jpg -tl 10000 -t 600000

I've gone through and replaced all your long dashes with regular ones as I think the code snippets should run when copied and pasted from github.