Sample Header Ad - 728x90

Deleting Rosetta 2 cache after a certain number of days

2 votes
0 answers
1676 views
Rosetta 2 apparently caches every time you execute a program for the first time and then saves that to /var/db/oah. I looked at this post for reference, and they said that you can create a cron script to automatically delete everything in the folder every 30 days. I have no clue how to do that, so any help would be appreciated. The .aot files are taking up over 100 MB so it would be great if I could delete them after every initial execution.
Asked by joshc94 (89 rep)
Feb 12, 2022, 10:39 PM