VMware Communities
nedeox
Contributor
Contributor

Has anyone managed to get VMWare Fusion run as a Launch Deamon

Hi

Due to the nature of the setup in my company, I need to restart the whole system once a day.

I can't do it with a cronjob since crontab is depricated anyway and the user would need to be logged in which it isn't once the system had a reboot.

So I tried it with a launchd Deamon which runs at boot. I'll post the plist file later but would there even a possibillity to do so?

Thanks

Edit:

here's the plist the deamon should rund and the script the deamon should execute.

the debug file (bla.err) has nothing in it

plist:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>Label</key>

<string>org.bla.VMStarten.script</string>

<key>ProgramArguments</key>

<array>

<string>~/Desktop/launchVMWare.sh</string>

</array>

<key>RunAtLoad</key>

<true/>

<key>StandardErrorPath</key>

<string>~/Desktop/bla.err</string>

<key>StandardOutPath</key>

<string>~/Desktop/bla.out</string>

</dict>

</plist>

script:

open /Applications/VMware\ Fusion.app/

0 Kudos
0 Replies