Skip to content

The Eclectic Light Company

Macs, painting, and more
Main navigation
  • Downloads
  • M1 & M2 Macs
  • Mac Problems
  • Mac articles
  • Art
  • Macs
  • Painting

launchd

How macOS schedules and dispatches background tasks using CTS 2

In the first article in this series, I explained how a great many background activities in macOS, including […]

October 14, 2020 Macs, Technology

How macOS schedules and dispatches background tasks using CTS 1

Rather than using cron or launchd, many background services in macOS are now run using Centralized Task Scheduling (CTS). This is how it works.

October 13, 2020 Macs, Technology

Kickstarting and tearing down with launchctl

What’s the quickest way to tear down all user apps and services? Or to force a restart? The answer is in the command tool launchctl.

August 27, 2019 Macs, Technology

Running at startup: when to use a Login Item or a LaunchAgent/LaunchDaemon

When you want software to run automatically each time you Mac starts up, there are several ways of doing that. Here’s your choice.

May 22, 2018 Macs, Technology

Reliability of macOS Sierra: scheduled and background activities

Scheduling background activities like making backups has moved from cron to launchd, and now to a more complex system. This has reduced the reliability of macOS and made it harder to support.

August 26, 2017 Macs, Technology

DispatchRider into second alpha, with saved activities and more

New release lets you save and re-open activity configurations in simple plist files, and fixes a couple of annoying bugs.

May 5, 2017 Macs, Technology

Two ways to run background tasks: comparing launchd and GCD

Background activities scheduled by third-party software currently use launchd, and run the risk of affecting the user. Would GCD be a better choice of dispatcher?

May 5, 2017 Macs, Technology

Keeping Background Tasks in the Background: DispatchRider

An experimental tool to let you schedule background tasks of your own, which are managed by Grand Central Dispatch. First alpha release.

May 2, 2017 Macs, Technology

Watching Grand Central Dispatch at Work

The aim is to be able to run commands at regular intervals using GCD rather than launchd. Here are details of the code and resulting log entries, casting light on how GCD works.

May 1, 2017 Macs, Technology

App Nap, Battery Endurance, and Grand Central Dispatch

T T Read More

Despite its documentation vanishing, it’s clear that GCD does a lot more than provide an easy way to concurrency for app developers.

April 29, 2017 Macs, Technology

Posts navigation

Previous 1 2 3 4 Next
Blog at WordPress.com.
Footer navigation
  • About & Contact
  • Macs
  • Painting
  • Language
  • Tech
  • Life
  • General
  • Downloads
  • Mac problem-solving
  • Extended attributes (xattrs)
  • Painting topics
  • Hieronymus Bosch
  • English language
  • LockRattler: 10.12 Sierra
  • LockRattler: 10.13 High Sierra
  • LockRattler: 10.11 El Capitan
  • Updates: El Capitan
  • Updates: Sierra, High Sierra, Mojave, Catalina, Big Sur
  • LockRattler: 10.14 Mojave
  • SilentKnight, silnite, LockRattler, SystHist & Scrub
  • DelightEd & Podofyllin
  • xattred, Metamer, Sandstrip & xattr tools
  • 32-bitCheck & ArchiChect
  • T2M2, Ulbow, Consolation and log utilities
  • Cirrus & Bailiff
  • Taccy, Signet, Precize, Alifix, UTIutility, Sparsity, alisma
  • Revisionist & DeepTools
  • Text Utilities: Nalaprop, Dystextia and others
  • PDF
  • Keychains & Permissions
  • LockRattler: 10.15 Catalina
  • Updates
  • Spundle, Cormorant, Stibium, Dintch, Fintch and cintch
  • Long Reads
  • Mac Troubleshooting Summary
  • LockRattler: 11.0 Big Sur
  • M1 & M2 Macs
  • Mints: a multifunction utility
  • LockRattler: 12.x Monterey
  • VisualLookUpTest
  • Virtualisation on Apple silicon
  • LockRattler: 13.x Ventura
Secondary navigation
  • Search

Begin typing your search above and press return to search. Press Esc to cancel.

  • Follow Following
    • The Eclectic Light Company
    • Join 3,179 other followers
    • Already have a WordPress.com account? Log in now.
    • The Eclectic Light Company
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...