Skip to content

Latest commit

 

History

History
97 lines (57 loc) · 2.82 KB

Windows.rst

File metadata and controls

97 lines (57 loc) · 2.82 KB

Windows user manual

This document teaches novice user with Python on Windows how they could easily run Sarracenia in various way. The screenshots were taken from Windows Server 2012 R2 Standard edition. Feel free to create issues if you believe that this document could be enhanced with one (or more) important case(s).

Click on Sarracenia (it will execute sr.exe restart):

start-menu-1.png

This will pop Sarracenia's Command Prompt, start Sarracenia processes as instructed by your configurations and show logging information.

sarra-prompt.png

Keep this window alive until you are done with Sarracenia. Closing it or typing ctrl-c will kill all Sarracenia processes. You may also want to restart Sarracenia which will stop those processes cleanly.

Launch a Powershell powershell session and type this command at the prompt:

sr restart

This will start Sarracenia processes as instructed by your configurations and show logging information

sarra-psprompt.png

Keep this Powershell session alive until you are done with Sarracenia. To stop Sarracenia you may type:

sr stop

This will stop all Sarracenia processes cleanly as would do a restart. Closing this window will also kill all processes.

Run this command:

activate sarracenia && sr restart

Here is a case where someone (like a sysadmin) needs to run Sarracenia without a Command Prompt and ensure that the system starts at Windows startup. The obvious way of doing it would be from the Task Scheduler.

Open Server Manager > Tools > Task scheduler:

task-scheduler_start.png

Select Create Basic Task from the action panel:

create-basic-task.png

This will launch the Create Basic Task Wizard where you ...

Fill the name:

cbtw_name.png

Choose the trigger:

cbtw_trigger.png

Choose the action:

cbtw_action.png

Define the action:

cbtw_action_program.png

Review the task and choose Finish:

cbtw_finish.png

Open the Properties dialog and choose Run whether user is logged on or not and Run with highest privileges:

ssp_general.png

The task should now appear in your Task Scheduler Library with the status Ready.

ts_results.png

Then, you may run it immediately with the run_action button.