Sachin Gupta
Sachin Gupta

Reputation: 15

Crontab running the python program and python log file is not accessible as cron runs with sudo

I have a cron setup using sudo crontab -e on my EC2 (Ubuntu) which runs a bashfile to execute my python program. The python program creates a log file. Now due to some error if my program closes and I run it from terminal it gives me error for access denied.

Upvotes: 1

Views: 15

Answers (0)

Related Questions