Closed MohammadPCh closed 1 month ago
The recent changes introduce a new constant IMPORT_PROJECT_CRON_SCHEDULE
in the src/constants.ts
file, which defines a default cron schedule for importing projects. This constant is then utilized in the import-projects
module, replacing the previous CRON_SCHEDULE
constant. This ensures that the cron schedule can be easily configured via environment variables.
Files | Change Summary |
---|---|
src/constants.ts |
Added a new constant IMPORT_PROJECT_CRON_SCHEDULE with a default value of "0 0 * * *" in UTC. |
src/features/import-projects/... |
Updated the import statement to use IMPORT_PROJECT_CRON_SCHEDULE from the constants module. |
🌟 In the code's quiet night, a cron job takes flight,
To import projects right, at the stroke of midnight.
Constants now hold the key, in a schedule so free,
WithIMPORT_PROJECT_CRON_SCHEDULE
, the future we foresee.
🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Improvements