Skip to content

Can't get crontab to work #14

Answered by ZuinigeRijder
mlinsell asked this question in Q&A
Discussion options

You must be logged in to vote

@mlinsell which version of Python are you running?

python --version

You need at least python 3.9 or higher. Is it also possible you have python and python3 installed?
You stated that on the commandline it is working, which command did you give then? With python3 in the commandline?
If that is the case, you should adapt the solis.sh script by changing python into python3, e.g.

/usr/bin/python3 -u ~/pi/solis/soliscloud_to_pvoutput.py >> solis.log 2>&1

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@mlinsell
Comment options

Comment options

You must be logged in to vote
1 reply
@mlinsell
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mlinsell
Comment options

Answer selected by mlinsell
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