Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Code Block
titleExample code block
linenumberstrue
collapsetrue
 

 

 

software setup:

 

Nov 29 2013. Setting up mac mini to run Canon camera:

...

cron entry time format is

<minute> <hour> <month-day> <month> <week-day> <command to execute>

so we want

1 22 * * * /usr/local/bin/startnight.sh

I suppose we could just go ahead and use crontab to initiate each night's data collection at the desired time, within a range of dates. Say we break things up into two week intervals. For example we could do 

 1 22 1-15 01 * <tasks for first half of Jan>

30 22 16-31 01 * <tasks for second half of Jan>

etc.

So let's make the table of startup times, in the format crontab wants. Make a list of  

minute hour dayrange month

15 00 01-15 01
10 00 16-31 01

...

00 00 01-15 12
15 00 16-31 12

...

gphoto2 commands 

shutter speed: 

server:~ christopherstubbs$ gphoto2 --get-config=/main/capturesettings/shutterspeed

...