반응형
Full Disk Access에 cron을 등록하면 된다.
Granting Full Disk Access to cron
-
Go to System Preferences > Security & Privacy > Privacy > Full Disk Access:
-
Click on the (+) icon to add an item to the list
-
Press command+shift+G to open the Go to Folder… dialog, type /usr/sbin/cron and press Enter:
-
Select the cron file and click Open:
- That’s it! Now my script can access my user’s $HOME/Library folder and all its contents!
Warning: this is not a great idea security-wise, if a malicious actor can create cron jobs or edit the scripts ran as cron jobs, he or she would have Full Disk Access too. Monitor the system’s installed cron jobs manually or with a tool such as KnockKnock and proceed with caution.
참고 : blog.bejarano.io/fixing-cron-jobs-in-mojave/
반응형
'개발' 카테고리의 다른 글
MariaDB 설치 (우분투) (0) | 2021.03.06 |
---|---|
파이썬 - 자주 쓰는 Pandas 문법 (0) | 2021.03.01 |
맥[mac] - 파이썬 기본 버전 변경하기 (0) | 2021.02.22 |
WebSocket (0) | 2021.02.18 |
WebFlux (0) | 2021.02.18 |