Migrated from GitLab wiki
@@ -0,0 +1,19 @@
|
||||
{width=2349 height=1380}
|
||||
|
||||
**CRON JOB TO PROCESS ORDERS and SHIPMENTS**
|
||||
|
||||
The way eStack run cron jobs, the job will be pushed to supervisor job management service and they start getting executed one by one. So you need to have good understanding of Supervisord as well, if you need to make any of your new worker for shipment.
|
||||
|
||||
```
|
||||
/estack$ bin/pms3 worker ship
|
||||
```
|
||||
|
||||
This will start the shipment worker which will start looking for jobs queued for this worker.
|
||||
|
||||
To check this, you must have two terminals opened, One is running with the worker and another one to push the jobs by executing some commands as like below.
|
||||
|
||||
```
|
||||
bin/pms3 shipment sweep
|
||||
```
|
||||
|
||||
This command will push jobs for each instance in the queue and worker will start processing those jobs, based on this jobs it clean up any shipments that should have been marked shipped but weren't.
|
||||
Reference in New Issue
Block a user