0
I have a little crontab code that takes a screenshot of my mac every 15 mins, as a diary thing to help me with all the administrative works. It has been working fine for a few years now but recently it started only taking the desktop and the status bar at the top, with no applications on the screen, no app docks at the bottom, not even app icons or files on my desktop.
The code works ok if I run it manually in the terminal, but acts up in crontab.
I tried to re-install the crontab but it didnt fix it. And now im out of tricks to fix this.
How do i get crontab to work with screencapture to get the applications on the screen too?
Im running a Mac Catalina Version 10.15.1.
*/15 * * * * /usr/sbin/screencapture -Cxd -tjpg ~/Documents/AutoScreenShot/screen-
date +"\%Y\%m\%d-\%H\%M"
.jpg