bastien-wink / okazeo-alert

0 stars 0 forks source link

Fix nextUpdate trigger time in MainCommand.php #3

Open sweep-ai[bot] opened 1 year ago

sweep-ai[bot] commented 1 year ago

Description

This PR fixes the calculation of the nextUpdate trigger time in the MainCommand.php file. Currently, the nextUpdate time is calculated by adding the subscription frequency to the previousUpdate time. However, this does not consider the specific time for the next update. This PR modifies the calculation to ensure that the next update is triggered at 6am after the first update.

Summary of Changes

Fixes #1.

To checkout this PR branch, run the following command in your terminal:

git checkout sweep/fix-nextupdate-trigger-time