All Sky camera for LSST site.
...
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
...
to take and store an image with existing settings gphoto2 --capture-image-and-download --filename ut113013.0001.cr2
Dec 1 2013
have fixed up cron task so that it works properly. It turns out need to set paths within the cron script, so sourcing bash_profile within script works.
did power cycle on mac mini and camera, and things run fine after power up.