CLI Reference > Server Administration Commands > im runtrigger
 
im runtrigger
runs an event trigger
Synopsis
im runtrigger [--invocationArgs=key1=value1)] [--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-F file|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [-g|--gui] [--settingsUI=[gui|default]] [--status=[none|gui|default]] trigger...
Description
im runtrigger runs an event trigger for workflows and documents. For example:
im runtrigger sendmail
runs the sendmail trigger.
Options
This command takes the universal options available to all im commands, as well as some general options. See the options reference page for descriptions.
--invocationArgs=key1=value1
specifies invocation arguments to manually scheduled triggers in the format key=value. These dynamic arguments are passed to the triggers in addition to any static configuration parameters that may have been set up when the trigger was created. Argument names and values must match the same number of arguments and argument names that the script expects. For example, if the script receives invocation arguments and reads one int parameter called myint, you would type --invocationArgs=myint=1.
* 
You cannot delimit the invocation arguments with commas. You must specify the --invocationArgs option additional times as necessary.
trigger...
specifies the name of the scheduled trigger. Use spaces to specify more than one scheduled trigger.
See Also
Commands: im createtrigger, im edittrigger, im viewtrigger, im deletetrigger, im triggers, im echo
Miscellaneous: options