Zend certified PHP/Magento developer

Running a “System Events” automation using crontab in MacOS

I want to execute dark-mode project using crontab on every system startup.
To make this app work I need to grant in “System Events” permission under “Automation” menu in “Privacy & Security” settings in the macos.

The problem it that when I run it from crontab, it’s not working, and I believe it’s because crontab is not allowed to automate “System Events”

Someone have any idea how to grant crontab these permissions?