Command line launch
Did you know? You can launch your favourite PrestaShop administration tool from the command line, from the Windows terminal, from a bat file, or even from a scheduled Windows task.
Usefulness:
- Automatically open Merlin Backoffice Flex when the computer starts up.
- Automatically restart Merlin in case of a crash.
- Automatically launch imports.
- Automatically launch scenarios.
- Automatically connect to a site.
There are different syntaxes for different uses.
Open Merlin and automatically connect it to a site:
‘installation path\program name.exe’ /site=connection name
e.g.: ‘C:\Program Files\Merlin Backoffice Flex\Merlin Backoffice - 64b.exe’ /site=my site ps
Open Merlin and automatically launch a scenario:
‘installation path\program name.exe’">scenario =scenario number
e.g.: ‘C:\Program Files\Merlin Backoffice Flex\Merlin Backoffice - 64b.exe’ /scenario=5
Open Merlin and automatically start the planner even if it is not checked in auto mode:
‘installation path\program name.exe’ /planning=1
e.g.: ‘C:\Program Files\Merlin Backoffice Flex\Merlin Backoffice - 64b.exe’ /planning=1
Open Merlin and automatically start the scheduler even if it is not checked in auto mode:
‘installation path\program name.exe’ /planning=1
e.g.: ‘C:\Program Files\Merlin Backoffice Flex\Merlin Backoffice - 64b.exe’ /planning=1
You can combine parameters. For example, the command below will open Merlin, connect it using the connection named ‘my site’ and then launch scenario number 5:
‘C:\Program Files\Merlin Backoffice Flex\Merlin Backoffice - 64b.exe’ /site=my site ps /scenario=5
Category's other articles Automation
-
Automatisation, le tutoriel video complet
-
Steering with N8N
Tuto
How to automate scenario replays on PrestaShop with N8N and Merlin Backoffice Flex
-
Installation on a VPS
Tip
Installing on a VPS server rather than locally has many advantages, which are outlined here.