Set date and time (if not connected to the Internet).
The Raspberry Pi does not have a Real-Time Clock and sets the current date and time through a NTP server. However, with no Internet connection in the field, the date and time must be manually set. Run the following command:
sudo date -s 'YYYY-MM-DD hh:mm:ss'
Mount the thumb drive
sudo mount /dev/sda1 /media/SanDisk16GB
Change your directory to the one in which you wish to save your time lapse images.Usually this will be on the USB thumb drive:
This allows the python script to run in the background even after you have logged out of the ssh sessions. However, one of the issues I had was that nohup automatically defaults to screen output to a file called nohup.out, which can quickly grow in size and eventually bring your Raspberry Pi to a grinding halt. The > /dev/null turns off logging to nohup.out.
Note the process number. This is necessary if you wish to stop raspiLapseCam running.