BIAMI Core Commands

BIAMI Core is the main engine to manage and run automation requests. It executes automation processes via scripts with defined parameters in stages.

BIAMI Core is included in both BIAMI Dev and BIAMI Enterprise Edition.
You can freely move your designed automation between Dev and EE without making any changes.

A list of available commands:

  • Process
    Default setting, processes all new requests with requested parameters or displays available options if there’s nothing to process.
  • Request
    Adds new request for defined task (=automation process) with option to request specific stage of the task list only (for testing purposes) and update context via setting values for specific parameters.
  • Remote request
    Adds new request for defined task (=automation process) from remote repository.
  • Update
    Update existing and download additional missing execution scripts.
  • Force
    Executes specific individual task.
  • Mark task as done
    Does exactly what it says. It can be used to debug broken processes or to mark human tasks as done.
  • Batch
    Process the same tasks multiple times with different parameters locally or remotely.
  • Import new task
    Imports a new process from import.tsv file based in temp directory.
  • Remove task
    Removes tasks from task list.
  • Help
    Display help information for specific process (taskid).
  • Debug mode
    Run task execution in debug mode.
  • Log mode
    Run task execution and save execution history in a log file.
  • Version
    Displays version of your BIAMI installation.

BIAMI Dev Screen listing core commands:

~/bin/core$ ./core_run.sh

I have nothing to do here...

You can:
- add new request: ./core_run.sh --context_param cmd=request --context_param taskid={task.id} [--context_param stage={stage.id}] [--context_param xx=xx]
use cmd=requestprocess to request and process at the same time
use task={task.name} instead of taskid={task.id} to request the most recent version
use cmd=remoterequest and add --context_param repo={repo.name} to request task from remote repository
- import a new task from ../temp/import.tsv file: ./core_run.sh --context_param cmd=import
use cmd=importclean to remove import.tsv file after import
use cmd=importupdate to update plugins after import
add --context_param script={url} to import script from remote repository
add --context_param taskid={task.id} to read script location from technical name
- view task help: ./core_run.sh --context_param cmd=help --context_param taskid={task.id}
add --context_param repo={repo.name} for help on task in remote repo
- remove task: ./core_run.sh --context_param cmd=remove --context_param taskid={task.id}
use --context_param task={task} to remove the most recent version of the task
you need to create {taskid} or {task} file in temp directory
- update and download missing plugins: ./core_run.sh --context_param cmd=update
- clean database and logs: ./core_run.sh --context_param cmd=clean
- manually mark task as done: ./core_run.sh --context_param cmd=done --context_param requestid={request.id} --context_param taskid={task.id}
- batch process with parameters from ../temp/{task.id}.tsv or ../temp/{task}.tsv file: ./core_run.sh --context_param cmd=batch --context_param taskid={task.id} or --context_param task={task}
use add=batch{command.name} to execute any command in batch process
use cmd=remotebatch to execute batch on remote servers with parameters from ../temp/{repo}.{taskid}.tsv file
- run in debug mode: add --context_param mode=debug or mode=debugparam
- create log files: add --context_param mode=log
- add new request via web service: {host}:{port}/core_0.10/services/core?method=runJob&arg1=--context_param%20cmd=request&arg2=--context_param%20taskid={task.id} Enterprise Edition only.
- display data in SOAP web service: use cmd=soapprocess or cmd=soaprequestprocess Enterprise Edition only.
- display task list in SOAP web service: use cmd=gettasklist Enterprise Edition only.
- find out more about Enterprise Edition at https://www.biami.io/ee/ or contact us at [email protected]

Task list:
2 - your_automation_task

[BIAMI Remote Repository]
7 - WordPress+MySQL/MariaDB FTP Backup

Questions? Join our community at https://www.biami.dev