Skip to content

Lens-Cover with RC-Servo, "sunwait" and cronjob #936

Answered by EricClaeys
Pedritoprint asked this question in Q&A
Discussion options

You must be logged in to vote

@Pedritoprint One way to do it is to have cron call a shell script which contains something like:

cd ~/allsky
source config/config.sh
./sunwait angle $(jq -r ".angle,.latitude,.longitude" ${CAMERA_SETTINGS})

Is this what you were looking for? I copied it from the Wiki page on "Angle and sunrise/sunset Explained ".

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Pedritoprint
Comment options

@EricClaeys
Comment options

Answer selected by Pedritoprint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants