Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Apple - "cron" processes piling up

Redirect stderr to /dev/null as well as stdout:

* * * * * /usr/bin/defaults delete com.apple.Spotlight userHasMovedWindow &> /dev/null
* * * * * /usr/bin/defaults delete com.apple.Spotlight windowHeight &> /dev/null

From trial and error it seems to be the stderr output of those commands that prevents the cronjob from exiting. I have no clue why that is, but it may be related to permissions to mail the output.

Tags:

Macos

Command Line

Cron

Activity Monitor

Related

Apple - virtualbox installation failed on macOS Catalina Apple - Cannot Upgrade Xcode 11 to Xcode 11.1 Apple - How to Invert Color on Mac running Catalina? Apple - Does Sys Prefs > Software Upgrade > "Automatically keep my Mac up to date" automatically install Catalina on a Mac running Mojave? Apple - This container can’t be split, because the resulting containers would be too small Apple - How to enable 3-finger drag in Catalina? Apple - Huawei E3372 Hi-Link doesn't work with macOS Catalina Apple - Catalina crashing at shutdown: "watchdog timeout: no checkins from watchdogd" Apple - revoke forbiddance to send Apple events to System Events Apple - macOS Catalina doesn't allow MAMP permission to certain folders (Documents, Downloads, Desktop) Apple - Missing Wifi interface after upgrade to Catalina Apple - Can't run OpenJDK macOS Catalina "Can't verify it's not a Virus"

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy