Alternatively to the triggering of autoexec activities by the Automaton service (see chapter Automaton), the triggering can be done by this utility. For to start it, change in the directory where ProcMan is installed (with cd command in the command window or by setting the work directory in a scheduler) and execute the command:
Windows:
Unix:
Following parameter combinations are possible:
The parameter -s, with the meaning Search for activities with fulfilled autoexec condition in all processes and execute them, has to be specified when the started command shall trigger all autoexecuted activities in the work list which have fulfilled preconditions (proper status and fulfilled autoexecution condition) for an execution.
After the parameter -i, with the meaning Execute only activities with action name matching one of the specified patterns, one or several action name patterns can be specified, to limit the started command only to trigger autoexecuted activities with fulfilled preconditions to those, for which the action name is matching at least one of the specified patterns. The pattern strings can contain wildcards: asterisk (*) and question mark (?). Asterisk means any string even an empty. Question mark means any character.
After the parameter -e, with the meaning Execute only activities with action name not matching one of the specified patterns, one or several action name patterns can be specified, to limit the scheduled command only to trigger autoexecuted activities with fulfilled preconditions to those, for which the action name is not matching any of the specified patterns. The pattern strings can contain wildcards: asterisk (*) and question mark (?). Asterisk means any string even an empty. Question mark means any character.
If the parameter -f, with the meaning Execute activities regardless if their autoexec condition is fulfilled or not, is specified, the check of the fulfilled precondition for triggering of the autoexecuted activities considers only the proper status of the activity and not whether the in the process definition specified autoexecution condition is fulfilled or not.
If the parameter -ip, with the meaning Execute final activities regardless if the predecessor process is completed or not, is checked, also autoexecuted activities which are final activities of processes are triggered even when the pre-processes of the processes are not complete yet.
After the parameter -p, with the meaning Search for activities with fulfilled autoexec condition in specified processes and execute them, one or several process ids (numbers) can be specified to limit the triggering only to autoexecuted activities of the specified processes.
After the parameter -pe, with the meaning Exclude activities of the specifed processes from execution, one or several process ids (numbers) can be specified to avoid the triggering of autoexecuted activities of the specified processes.
After the parameter -a, with the meaning Execute the specified activities if their autoexec condition is fulfilled, one or several activity ids (numbers) can be specified to limit the triggering only to the specified autoexecuted activities.
After the parameter -ae, with the meaning Exclude the specified activities from execution, one or several activity ids (numbers) can be specified to avoid the triggering of the specified autoexecuted activities.
Before the utility can be started the settings required by the autoexecution has to be set in the configuration file etc/hwm_autoexec_config.php of the ProcMan installation. For the description of the configuration settings please see the inline documentation in etc/hwm_autoexec_config.php.sample.