im hoping the write a script the take one photo everyday before dusk to run for one year. would this be possible?
Yes technically its possible, but they are a few hard/interesting problems you need to solve first.
Main things are:
1. dusk will be at a different time each day, how do you know the correct time?
2. hardware issues, what if the computer reboots, or power cut? Need to write the script so it will resume from where it left off, if its interruped
3. if/when computer or camera is powered off/on, what starts everything running again.