Let script run when workflow runs
Can I run a script at the same time as the workflow starts?As the package function.
Comments (21)
-
-
reporter Because I need to run a sh script at the beginning of the workflow, collect the model, serial number and other information to send another web server database to save.
-
-
assigned issue to
Can I run a script at the same time as the workflow starts?As the package function.
-
assigned issue to
-
Issue
#162was marked as a duplicate of this issue. -
- changed status to resolved
This is now implemented. If you mark a script as running when the workflow runs, I think it will do as you expect. If so, please close this bug. Please test in 1.6 or later.
-
I just tested it and it seems that it has not been implemented. In the Resources settings page - “Specify a folder containing scripts to run on the target Mac”- did not find the ability to set 'When running workflow'
-
MDS Verion 1.7 (12406)
-
reporter - changed status to open
Not implemented.
-
When can we expect to see this implemented? I could also use this functionality to whitelist kernel extensions, which I have currently added to the “run” script, e.g. “/usr/sbin/spctl kext-consent add ABCDEFGHIJ”.
-
I have an workflow where this would be great.
I want to install Boot Runner as one of the apps, but then I will need to disable sip for nvram. Right now I would have to type the command in recovery before running the workflow. But if you could specify the script to run before the reboot there is less interactions to get things done.
-
added in build 20034 or later. Please verify and close if works correctly.
-
- changed status to resolved
-
I tried it now but get the error “Couldn’t copy script 1.0” if I retry “script 2.0” and so on.
-
- changed status to open
-
@Dave Lebbing , can you verify the issue on a test laptop and give it to me to troubleshoot?
-
-
assigned issue to
-
assigned issue to
-
-
assigned issue to
Fix needed in MainController: change “No” to False for firstboot status.
-
assigned issue to
-
- changed version to 2.0
-
need to update imagr in MDS prior to release. close this once that has happened.
-
- changed status to resolved
-
- changed status to closed
- Log in to comment
Not currently. Can you give me an idea of how this is going to be used so I can understand it better?