bluegreen-labs / phenocam_installation_tool

An installation script and instructions for installing PhenoCam cameras.
https://bluegreen-labs.github.io/phenocam_installation_tool/
GNU Affero General Public License v3.0
9 stars 7 forks source link

Cron ends 1 hour late #4

Closed patricktokeeffe closed 7 years ago

patricktokeeffe commented 7 years ago

The cron ending hour setting appears to have an off-by-one error. If I install using

./PIT.sh 123.456.78.xx admin admin testcam3 -8 PST 4 22 15 passive

then images continue to be scheduled through hour 22. This is the schedule I programmed into our latest camera and it's last report each day is 22:45.

patricktokeeffe commented 7 years ago

Because

The specified range is inclusive[ref]

Either the readme needs updating or the install script does. Changing the default cron interval is probably less desired.