Skip to content

Commit

Permalink
Cronjob wasn't working
Browse files Browse the repository at this point in the history
  • Loading branch information
jadonn committed Jun 26, 2021
1 parent 4537040 commit f79b6b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Once you've proven that the run works, and an image is sent to your epaper displ

Add this entry so it runs every minute:

* * * * * cd /home/pi/literary-clock && source env.sh && python3 literary_clock.py > run.log 2>&1
* * * * * cd /home/pi/literary-clock && . ./env.sh && python3 ./literary_clock.py > run.log 2>&1

This will cause the script to run every minute, and write the output as well as errors to the run.log file.

Expand Down

0 comments on commit f79b6b0

Please sign in to comment.