# 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](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-09/scaled-1680-/image.png)](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-09/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`