Skip to content

finalCountdown seems to be ignored #192

@Tuttu

Description

@Tuttu

Hello,

In our configuration, we are using finalCountdown set to-1 to have JSM staying visible when it has finished. This gives the tech or admin a chance to review what happened and if anything has failed.

However, once JSM reaches the end of its list of tasks, it continues instead of waiting on the finished screen.

Here's the configuration PLIST, minus the different steps to save place. The same issue has been found with JSM 1.4 and JSM 1.4.2.

<?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>DEBUG</key>
        <false/>
        <key>title</key>
        <string>Welcome to Company!</string>
        <key>message</key>
        <string>Let us prepare your Mac so you can enjoy it soon. This should take a **few minutes**.</string>
        <key>icon</key>
        <string>/Library/Application Support/Company/Branding/Company-Logo.png</string>
        <key>background</key>
        <string>/Library/Application Support/Company/Branding/Company-Wallpaper.jpeg</string>
        <key>runAt</key>
        <string>enrollment</string>
        <key>enrollmentActions</key>
        <array>
            [...]
        </array>
        <key>help</key>
        <dict>
            <key>message</key>
            <string>If you face an issue, please contact your local IT admin</string>
            <key>title</key>
            <string>Help!</string>
        </dict>
        <key>accentColor</key>
        <string>#59C5BE</string>
        <key>tileColor</key>
        <string>##automatic</string>
        <key>finalCountdown</key>
        <integer>-1</integer>
        <key>computerID</key>
        <string>$JSSID</string>
        <key>computerNameTemplate</key>
        <string>%serial%</string>
        <key>webhooks</key>
        <dict>
            <key>finished</key>
            <array>
                <dict>
                    <key>kind</key>
                    <string>slack</string>
                    <key>url</key>
                    <string>https://hooks.slack.com/services/IDs</string>
                </dict>
            </array>
        </dict>
        <key>finishedTrigger</key>
        <string>my-policy-trigger</string>
    </dict>
</plist>

And here's the associated JSM log after running it on a computer.

Setup Manager.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions