Skip to main content

2️⃣ Template Execution

License Key

Before running a template, you must specify the license key in the input settings and configure parameters for template execution. To do this, open the template settings. Right-click on the template and select "Settings" from the context menu.

Template context menu

Then on the last License tab, enter the key that was provided to you in the access email in the [License Key] field.

Template context menu

Starting Execution

To run a template, check if the "Start" button is active. If not, the template is in a waiting state for launch. If the "Start" button is active, click it to put the template in "Waiting" state.

Since templates are in waiting state by default, the "Start" button will most often be inactive.

Template context menu

Next, specify the number of threads that ZennoPoster / ZennoBox will launch for the template. The number of threads is specified in the "Maximum threads" field.

Template context menu

The "How many to do" field specifies the number of attempts the template will perform to complete the task specified in settings.

Template context menu

To launch the template, both fields must have values greater than "0", otherwise execution will not start. Run the template in 1 thread - for this, specify the value "1" in both "Maximum threads" and "How many to do" fields. After this, the template will start and transition to "Running" state.

Template context menu

If the template completes execution successfully without any errors, it will return to "Waiting" state and for re-launch, it's sufficient to specify the value "1" in the "How many to do" field. This will again add an execution attempt for the template.

For the template to run, it must be in "Waiting" state and the user must set values greater than 0 in the "Maximum threads" and "How many to do" fields.

Execution Status

Besides "Waiting" and "Running" states, there's also a "Stopped" state. The template transitions to "Stopped" state if the user clicked the "Stop" button or intentionally interrupted the template by performing the "Interrupt" action, as well as when template execution was interrupted due to an error. In such cases, the template transitions to "Stopped" state and will not start until the "Start" button is pressed.

Template context menu

Interrupting Execution

To interrupt template execution, right-click on the template and select "Interrupt" from the context menu. Template execution will be interrupted almost immediately and an execution error message will be displayed in the log.

After forcibly interrupting the template, it must be put into "Waiting" state. Click the "Start" button and re-specify a value for the "How many to do" field.

Template context menu

Multi-threading

To run a template multi-threaded, specify the desired number of threads in both "How many to do" and "Maximum threads" fields.

The value in the "How many to do" field should match the value in the "Maximum threads" field, otherwise thread startup will occur with the number specified in the "Maximum threads" field.

Examples:

  • If you need to run the template in 5 threads, both fields should have the value "5".
  • If you need to run the template 20 times in 5 threads, specify "20" in the "How many to do" field and "5" in the "Maximum threads" field.

Template context menu