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
so to generate crontab from this, do
...
gphoto2 commands
shutter speed:
server:~ christopherstubbs$ gphoto2 --get-config=/main/capturesettings/shutterspeed
Label: Shutter Speed
Type: RADIO
Current: 15
Choice: 0 30
Choice: 1 25
Choice: 2 20
Choice: 3 15
Choice: 4 13
Choice: 5 10
Choice: 6 8
Choice: 7 6
Choice: 8 5
Choice: 9 4
Choice: 10 3.2
Choice: 11 2.5
Choice: 12 2
Choice: 13 1.6
Choice: 14 1.3
Choice: 15 1
Choice: 16 0.8
Choice: 17 0.6
Choice: 18 0.5
Choice: 19 0.4
Choice: 20 0.3
Choice: 21 1/4
Choice: 22 1/5
Choice: 23 1/6
Choice: 24 1/8
Choice: 25 1/10
Choice: 26 1/13
Choice: 27 1/15
Choice: 28 1/20
Choice: 29 1/25
Choice: 30 1/30
Choice: 31 1/40
Choice: 32 1/50
Choice: 33 1/60
Choice: 34 1/80
Choice: 35 1/100
Choice: 36 1/125
Choice: 37 1/160
Choice: 38 1/200
Choice: 39 1/250
Choice: 40 1/320
Choice: 41 1/400
Choice: 42 1/500
Choice: 43 1/640
Choice: 44 1/800
Choice: 45 1/1000
Choice: 46 1/1250
Choice: 47 1/1600
Choice: 48 1/2000
Choice: 49 1/2500
Choice: 50 1/3200
Choice: 51 1/4000
Choice: 52 1/5000
Choice: 53 1/6400
Choice: 54 1/8000
...
server:~ christopherstubbs$ gphoto2 --get-config=/main/capturesettings/aperture
Label: Aperture
Type: RADIO
Current: 2.8
Choice: 0 2.8
Choice: 1 3.2
Choice: 2 3.5
Choice: 3 4
Choice: 4 4.5
Choice: 5 5
Choice: 6 5.6
Choice: 7 6.3
Choice: 8 7.1
Choice: 9 8
Choice: 10 9
Choice: 11 10
Choice: 12 11
Choice: 13 13
Choice: 14 14
Choice: 15 16
Choice: 16 18
Choice: 17 20
Choice: 18 22
...
server:~ christopherstubbs$ gphoto2 --get-config=/main/imgsettings/iso
Label: ISO Speed
Type: RADIO
Current: 640
Choice: 0 Auto
Choice: 1 100
Choice: 2 125
Choice: 3 160
Choice: 4 200
Choice: 5 250
Choice: 6 320
Choice: 7 400
Choice: 8 500
Choice: 9 640
Choice: 10 800
Choice: 11 1000
Choice: 12 1250
Choice: 13 1600
Choice: 14 2000
Choice: 15 2500
Choice: 16 3200
Choice: 17 4000
Choice: 18 5000
Choice: 19 6400
Choice: 20 Unknown value 007b
Choice: 21 Unknown value 007d
Choice: 22 12800
Choice: 23 Unknown value 0083
Choice: 24 Unknown value 0085
Choice: 25 25600
...
to set shutter speed to one second: gphoto2 --set-config=/main/capturesettings/shutterspeed=1
(argument is simple shutter speed in seconds, it seems)