Article 5P20G Script run by Cron is not writing to file.

Script run by Cron is not writing to file.

by
kthibault17
from LinuxQuestions.org on (#5P20G)
Hello all,

I have a python script that opens a file and writes output to that file from the Raspberry Pi Sense Hat. When I run this script from the terminal it logs its data to the file. When this script is run from a Cron job, the output file gets created but no data is written. Any thoughts would be greatly appreciated.

Thanks!latest?d=yIl2AUoC8zA latest?i=5folkkel68Y:0lGYdcrSoRY:F7zBnMy latest?i=5folkkel68Y:0lGYdcrSoRY:V_sGLiP latest?d=qj6IDK7rITs latest?i=5folkkel68Y:0lGYdcrSoRY:gIN9vFw5folkkel68Y
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments