Configure cronjob or Batch Processing for CHT Outbound

Hello Njuguna here are the steps:

  1. Configure outbound as seen below:
    Cronjob is meant to run after every 30th minute.

  2. Create records and trigger outbound at minute 11 all the way to 20
    You will notice that your records will be saved and not pushed, see the above logs. An outbound task will be generated.

  3. Within the same timeframe you will see a message
    Unable to push ***** for ped_benchmark_outbound because this outbound config no longer exists, clearing task
    After some research, I have realized that your tests are working because you have configured 15th minute cron, with this, the cycle is shorted and CHT send records within 10 minutes before cron-time and 10 minutes after cron-time. This means that records have less waiting time. In your test, try +30minites cron and let me know how it behaves.

1 Like