Scripts Set to Run "After" Disk Encryption Run during

Contributor II

I have A Policy to Encrypt Disks using my Disk Encryption Configuration.

In my policy I have a Script set to run "After" which runs a recon and then triggers another policy to run.

However I find that the script runs sort of Before, and its causing issues, has anyone else run into this and does anyone have a fix ?

Below is the log from the policy.


Executing Policy ZZ 18 - FV2 - Enable Using JAMF Account
Running script ZZ 21 - Management - Pause xxx Seconds - Inventory - Pause xxx Seconds - Run Specific Policy Trigger...
Script exit code: 0
Script result:

Fri Jan 25 17:06:09 GMT 2019

Pausing for 30 Seconds, then running an Inventory
Then Pausing another 20 Seconds, then running all Policies with the Trigger FV2-CRYPTO-CREATE

Running Commands Elevated

Running Commands in the Foreground

sleep 30s && sudo /usr/local/bin/jamf recon && sleep 20s && sudo /usr/local/bin/jamf policy -trigger FV2-CRYPTO-CREATE
Retrieving inventory preferences from
Finding extension attributes...
Locating applications...
Locating package receipts...
Searching path: /Applications
Locating accounts...
Locating software updates...
Locating hard drive information...
Locating printers...
Locating hardware information (Mac OS X 10.13.6)...
Gathering application usage information...
Submitting data to
Checking for policies triggered by "FV2-CRYPTO-CREATE"...
No policies were found for the "FV2-CRYPTO-CREATE" trigger.

Ending Script "ZZ 21 - Management - Pause xxx - Inventory - Pause xxx - Specific Policy Trigger"

Recovery key = '(...)'
FileVault is On.
FileVault master keychain appears to be installed.
Encryption in progress: Percent completed = 0
Checking for patches...
No patch policies were found.