Hello,
We did package a bash script with this :
It showing as success in the log but show as uninstall on Application. (Missing App 1 on all computer)
What is the "trick" to show as installed in application ? Knowing that it's a script ?
Thank you
Regards
You'll need to include a telltale in the script, like a dummy app to be "installed" into /Applications. Otherwise SM does not know if the script has been installed or not.
See here for documentation on this: https://documentation.meraki.com/SM/Apps_and_Software/Deploying_Scripts_in_Systems_Manager_using_Sof...
Thank you very much for your answer .
I also have seen that in the doc .
But I think that if I do this it won’t be executed on regular basis like a startup script. It will be executed once only , correct ?
I didn’t try but i think the feature that I am looking for doesn’t exist , an CustomApp (script actually) that doesn’t appear on the dashboard as missing or uninstall and that will be executed on regular basis
I'm not a Mac person, but I'm sure the Mac will support either scheduled tasks or a startup script.
Why don't you install your script as a CustomApp, make it appear as an installed application, and install it as either a startup script for scheduled job, based on when or how frequently you want to run it.
It’s addind complexity and wouldnt be trigger by meraki ( push + trigger the execution )
actualy it works well but all Macs have one missing app
Meraki SM alone will not accomplish what you are looking for. SM does not have the ability to schedule tasks like this or set up login/logout scripts. You could do what @PhilipDAth is suggesting by using cron to schedule the execution of the script at regular intervals however. This is unfortunately not nearly as simple as Task Scheduler in Windows.