Here's what syslog logs:
CRON[13315]: (root) CMD (cd /home/user/insta-mary/ && python3 ./post.py > /home/user/insta-mary/log) postfix/pickup[13044]: 92A7B42D48: uid=0 from=<root> postfix/cleanup[13277]: 92A7B42D48: message-id=<20170125150801.92A7B42D48@br.com> postfix/qmgr[10403]: 92A7B42D48: from=<root@br.com>, size=2216, nrcpt=1 (queue active) postfix/local[13279]: 92A7B42D48: to=<root@br.com>, orig_to=<root>, relay=local, delay=0.17, delays=0.11/0/0/0.06, dsn=2.$ postfix/qmgr[10403]: 92A7B42D48: removed The logs themselves /home/user/insta-mary/log are clean.
Maybe you need to read what postfix writes. But I do not understand how. Tell me please.
PS: There are several other Python scripts that work correctly through cron .