GeoffatMM
GeoffatMM

Reputation: 1

How do I run an automator file.app in the background at startup and before login

I need to start UTM and then run a virtual machine in UTM after a defined delay.

I have built an automator application that achieves exactly what I want at login. However, if the machine stops and restarts for any reason while I am not with it, there is no login and thus the automator app does not run.

Is there a way to run the automator app in the background at startup or is it limited to running only after login?

If it is limited, can I convert the automator app and run it through launchd? If so how? I am not experienced in launchd or launchctl agents so would need an idiot's guide if at all possible!

I have not been able to try any solutions as I have searched the web but only found references to using automator after login or writing a plist file for launchd but I do not understand how to generate a plist file that will replicate my automator app.

TIA,

Geoff

Upvotes: 0

Views: 10

Answers (0)

Related Questions