Skip to main content

Custom actions scheduled job

Scheduled jobs can invoke on existing commands from inside of ERP code.

To fix this there is a command, that receives a parameter called "callClass", that can call any Action or Task in ERP.

image.png

Sample command code:
scheduled-job:run-action callClass=App\Containers\ExternalApplication\Actions\BusinessCentral\SyncExpenseEventsFromBcAction

It also takes an additional argument, that can be passed to it if want/needed: additionalArgument