launchd

  1. maverick28

    Mac Create an agent to watch program launches

    Hello, I want to create an agent that would launch a certain script when iTunes is launched. Obviously, with the traditional set of properties such as KeepAlive and RunAtLoad it will resume endlessly as soon as the default 10-sec interval elapses which is not the desired behaviour as I need it...
  2. daveh0

    Mac Can't authenticate using SSH key when running script via launchd

    I have a Bash script that executes an rsync command to sync files with a remote server. #!/bin/bash rsync -auvzP --exclude=.bundle --exclude=node_modules --exclude=tmp '/Volumes/Norman Data/me/.bash_profile' '/Volumes/Norman Data/me/Documents' --exclude=remote me@example.com:backup/ This...
  3. B

    Mac Alternative to bootstrap_info()

    Hello, I'm writing a program to enumerate port information and I came across some documents that referenced bootstrap_info() API, however it seems in the latest Mac this API is no longer supported. Is there some alternative way to query this information from the bootstrap service (launchd) in...
  4. Prplehz76

    Remote user that I can’t shake!

    I need some heavy duty help to shake a remote user! I’ve tried everything even had professional IT help but he’s sneaky and can disappear as quickly as he appears! I’ve got all the programs he/she is infiltrating and can see the workflow on my console. I have used sudo on my terminal and can...