I tried to run a Python script using cronjob, but I get the following error:
cron [44405]: no address for address 0x10ff7a000 in grep cron /var/log/system.log
When I ran the script without a cronjob, it worked well on the terminal too:
/usr/bin/python /Users/anuj/Desktop/message.py
I tried to add a cronjob using $sudo crontab , this is a CRON script.
*/1 11-17 * * 1-7 /usr/bin/python /Users/anuj/Desktop/message.py
Both paths are correct for root mode and user mode since I run cron with sudo .
source share