Problem with cron which run python script for detecting position of mouse.
I have python script with detecting if the mouse is moving.
If the script is run from terminal like "sudo su" it work correctly.
But if the same scrip is run from crontab I get msg "This process is not trusted! Input event monitoring will not be possible until it is added to accessibility clients."
cron and terminal are added to "Privacy & Security > Accessibility" and "Privacy & Security > Input Monitoring"
It worked in previous OS but in MacOS 14.2.1 it doesnt work.
Mac mini, macOS 14.2