Users who were suppose to be off boarded were sent messages both on their second to last day of the batch and their last day of the batch
Steps to reproduce
This is a hard problem to reproduce, since it could be partly related to the RC api and is a bug that gets triggered by the cron job.
Expected result
It should only send out offboarding messages on the very last day of the batch
Actual result
Sent out an offboarding message to users on the second to last day of the batch.
Additional Notes
Some potential areas to look for why this error is being caused.
Check the local timezone of the server (Its possible that the 3pm cron job was running on the "next" day, although that wouldn't explain why is ran twice in a 24hr time span).
Ensure that the data from the RC api is correct (sanity check)
Description
Users who were suppose to be off boarded were sent messages both on their second to last day of the batch and their last day of the batch
Steps to reproduce
This is a hard problem to reproduce, since it could be partly related to the RC api and is a bug that gets triggered by the cron job.
Expected result
It should only send out offboarding messages on the very last day of the batch
Actual result
Sent out an offboarding message to users on the second to last day of the batch.
Additional Notes
Some potential areas to look for why this error is being caused.