Skip to content
BigMac Admin edited this page Nov 13, 2022 · 13 revisions

NAME /usr/local/Renew.sh

SYNOPSIS /usr/local/Renew.sh [ --reset | --dry-run | --force-aggro | --force-normal | --force-notification | --help ]

DESCRIPTION The Renew script is designed to be run on regular intervals (about every 30 minutes, typically via a Global Launch Agent). In normal usage, no additional arguments are required. The Options below are primarily for testing.

Multiple options are not supported, only one option can be chosen at a time.

OPTIONS --reset This will reset the user's deferral profile to reset the Renew experience

--dry-run				Disables the restart/quit functionality of the "Restart" button for testing purposes.
			  			Also ignores active deferral count and sets uptime to ensure an event is triggered.

--force-aggro				Aggressive mode will be executed regardless of deferrals or uptime.

--force-normal				Normal mode will be executed regardless of deferrals or uptime.

--force-notification			Notification mode will be executed regardless of deferrals or uptime.

--version				Print the version of Renew and Dialog and exit.

--help					Print this help message and exit.

EXIT CODES 0 Successful exit 1 Unknown or undefined error 2 Permissions or home folder issue 3 SwiftDialog binary missing 4 Invalid arguments given at command line * Other undefined exit codes are most likely passed from SwiftDialog exiting improperly