Welcome to our Support Center
< All Topics
Print

CLI Command line commands

ERP.ai studio supports multiple types of commands which users can execute manually or schedule as a scheduled task.

Execute training

This command would execute training of already created project file. Command: iERP.ai Studio.exe train Example: iERP.ai Studio.exe train –project “C:USRiERPsamplesdebt-aging-small-projectdebt-aging-small-project” Parameters:

  • –project : is full path to project directory
  • –trainingComplexity: “yes” for precise (default) | “no” for fast: how complex the algorithm should be

Example: iERP.ai Studio.exe train –trainingComplexity “yes” –project “C:USRiERPsamplesdebt-aging-small-projectdebt-aging-small-project”

Execute forecasting

This command would execute forecasting of already created project file. Command: iERP.ai Studio.exe forecast Example: iERP.ai Studio.exe forecast –project “C:USRiERPsamplesdebt-aging-small-projectdebt-aging-small-project” –output “C:output.csv” Parameters:

  • –project : is full path to project directory
  • –output : is full path to a export CSV file
Get Machine fingerprint

This command would retrieve the machine fingerprint and print it to the terminal Command: iERP.ai Studio.exe fingerprint Example: iERP.ai Studio.exe fingerprint Parameters: None Example of the output:

Machine fingerprint: 6b0b458b54c2c8647cc21111111111b471fe60b6666669eecd9dbfd93d012768Machine name: Mac 20.3.0Machine platform: darwin
Start API server

This command would start API server. Command: iERP.ai Studio.exe api Example: iERP.ai Studio.exe api –project “C:USRiERPsamplesdebt-aging-small-projectdebt-aging-small-project” –port 5555 Parameters:

  • –project : is full path to project directory
  • –port : is a HTTP port on which API server will be listening on

Schedule a training task on Windows 10
  1. Open Task Scheduler

  2. Select “Create Basic Task”

  3. Select trigger schedule

  4. Select action “Start Program” and set this info:
    1. On Program/Script write the path to the executable
      • On Local user install the path is “C:UsersusernameAppDataLocalProgramsiERP.ai StudioiERP.ai Studio.exe”
      • On Machine wide install the path is “C:Program FilesiERP.ai StudioiERP.ai Studio.exe”
    2. On Add arguments write train –project “projectPath” , for example: train –project “C:USRiERPsamplesdebt-aging-small-projectdebt-aging-small-project”

  5. Finish creating the task


Run Manually the task and test it works
  1. Open Task Scheduler
  2. Select “Task Scheduler Library”
  3. Select iERP Studio training task

  4. Select “run” on the toolbar to the right
  5. Select “Task Scheduler (Local)”
  6. Select “Display All Running Task”
  7. Once the task finishes, check the modified date for the file “model-debt-aging.sav” on the project folder

Previous Installation: How to install on-premise iERP studio
Next Studio technical FAQs
Table of Contents