![]() In either case, the schedule is created dynamically with a LaunchDaemon that uses the user selected value (when no pre-defined minutes value is passed), or with the pre-defined minutes value, and also creates a companion script, both of which are created at the time the script runs.If a value (integer) in minutes is passed to the script in Parameter 4, it will instead auto schedule the reboot accordingly in the future exactly the number of minutes that was passed in the parameter.For example, you may give the user the option of rebooting "2 hours from now" "30 minutes from now" or "5 minutes from now" If no value (integer) in minutes is passed to the script in Parameter 4 when its run, it will send up a dialog with cocoaDialog with pre-defined reboot options that the user can choose from.The latest beta version of cocoaDialog (uses radio button and standard msgbox dialog styles)."Your Mac will reboot in 5 minutes") which could interrupt a user while they are in the middle of a presentation or some other important business, the script allows you to send up options for the user to schedule the reboot at a later time, or optionally reboot soon. Instead of simply rebooting the Mac immediately, or only allowing a single option for reboot (for ex. Reboot_scheduler.sh was designed to be used in instances where system updates have been installed silently on a Mac that require a reboot of the Mac. Run the script in Terminal or by other means and follow the instructions.Save the script and ensure it is executable: chmod +x /path/to/create_ARD_computer_list.sh.Edit the required items in the script for API Username, API Password and JSS URL.Its not recommended to use this on very large computer groups, such as one that has 1000 or more members in it. Because of this, the script can take several minutes to complete, even with modest sized computer groups. Special note: Because Smart and Static Computer groups don't contain the last reported IP address for computers in them, the script must loop over a list of all JSS computer IDs from the group chosen to get each Mac's IP address for the plist file. No "Create", "Update" or "Delete" access needs to be given to the API account to use this. The API account used with this script must have the following read access at a minimum to function: Your selection will be accessed using the JSS API, pulled down into an xml file, then converted into an ARD computer list plist file for import into Apple Remote Desktop. The script will present an Applescript dialog with a listing of all computer groups from your JSS to select from. deprecated create_ARD_computer_list.shĬreate_ARD_computer_list.sh was designed to assist with converting a Casper Suite Smart or Static Computer group into an Apple Remote Desktop computer list. Install_select_SS_plug-ins.sh (Companion script for create_SelfService_Plug-in.sh) You can try to educate your end-users on what this means, but you shouldn’t have to and naturally many of them may not remember.A collection of scripts I have worked on to be used with Jamf Pro (formerly 'Casper Suite'), and in some cases, which can be used with other Mac management tools. ![]() ![]() It’s not descriptive and quite confusing. The Jamf Pro administrator will know what the dialog means, but end users will be clueless. I’ve submitted a feature request on JAMF Nation to improve this functionality: However, one thing that I’ve always found unacceptable is the JAMF Helper HUD dialog in the bottom right corner that shows up. There are pros and cons to this trigger which I won’t get into here. This has the benefit of ensuring the software isn’t running. Recently, I had a situation where we wanted to run an update that’s pretty big on logout. You can read the description for each of those triggers by creating a new policy (you don’t have to save it) and read the descriptions for each of them in the General policy payload. Those include: Startup, Login, Logout, Network State Change, Enrollment Complete, Recurring Check-in, and Custom. Jamf Pro has a couple of triggers, events that cause that computer to check-in with the Jamf Pro server to run policies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |