Skip to main content
0 votes
1 answer
89 views

This question is similar to LaunchAgent doesn't run shell script, but the solutions there didn't work for me as my situation is presumably much more complex. I have the following Bash script: #!/...
Kenny83's user avatar
  • 929
0 votes
0 answers
239 views

On MacOS Sonoma (14.5) with iCloud synchronization switched on, I am trying to access or load a file in a (bash) shell script. Simply via: cat DSC_0001.jpg >/dev/null (Note that this simple line ...
hansschl's user avatar
1 vote
0 answers
69 views

I am new to this group. Hopefully someone can provide some guidance to solve my issue... I am attempting to schedule the running of my python program on my Mac using launchd. I have hit a roadblock ...
GascanTX's user avatar
0 votes
1 answer
189 views

I am trying to setup a nightly task on my Mac to edit a file and then copy that file to my Google Drive which is accessible directly from my Mac's file system through Google Desktop integration. I ...
Orestes's user avatar
  • 41
0 votes
0 answers
129 views

I would like to achieve simple thing but struggling for the whole day. :( I made a simple macOS app. In AppDelegate, applicationDidFinishLaunching, I would like to execute a helper program which is ...
Kyung Lee's user avatar
3 votes
3 answers
8k views

My macOS app stopped working on macOS 14.4.1 (Kernel: Darwin v.23.4.0), or "Sonoma". I started looking into it, and it turns out that when I try to remove my launch agent: /bin/launchctl ...
c00000fd's user avatar
  • 22.9k
0 votes
0 answers
60 views

I am currently trying to implement a launch daemon, such that when a USB device is connected, a shell script is ran. When I try to register the following daemon using launchctl load com.myplist.plist ,...
Azal-Amer's user avatar
0 votes
0 answers
364 views

I have macbook air (M1 chip). Installed: mac os ventura 13.5. I have a python app that displays a timer in taskbar. I use rumps to do that. I want to launch on startup. I tried to do it with: ...
ronin_27121's user avatar
2 votes
1 answer
949 views

When I try to brew services start httpd to start, I am getting the below error: Bootstrap failed: 5: Input/output error Try re-running the command as root for richer errors. Error: Failure while ...
Script Host's user avatar
1 vote
0 answers
21 views

I am having trouble getting a bash script running through a plist that will be launched through launchctl. When I run it normally through bash by running sh script.sh everything works fine and it runs ...
jbrulmans's user avatar
  • 1,005
2 votes
1 answer
3k views

I'm writing an installer for my launch daemon, and for a launch agent, that will run in every logged in user session on macOS. The installer will be running as an admin, and thus I can install and ...
c00000fd's user avatar
  • 22.9k
0 votes
0 answers
2k views

I've coded my launch daemon and a launch agent for macOS. When the app is installed, I need to run both the daemon and the agent. I place the .plist for the deamon into /Library/LaunchDaemons and then ...
c00000fd's user avatar
  • 22.9k
1 vote
1 answer
863 views

Trying to run this command sudo launchctl bootstrap user/501 ~/Library/LaunchAgents/io.mutagen.mutagen.plist and getting this error /Users/simanta/Library/LaunchAgents/io.mutagen.mutagen.plist: ...
psimanta's user avatar
  • 136
0 votes
1 answer
300 views

I was hoping someone could point out where I might be going wrong with a launchctl script I'm trying to write and launch. The intention is to run a python script I've managed to get working, everyday ...
JaceExton's user avatar
0 votes
0 answers
179 views

I've written a plist file to try to get Postgres to load on startup on Mac OS X but I can't get it to start the service. The plist file is saved in /Library/LaunchDaemons. <?xml version="...
Merely Useful's user avatar

15 30 50 per page
1
2 3 4 5
7