Skip to content

fix: add cron job for autopublish#6359

Open
KrissDrawing wants to merge 21 commits into
mainfrom
6213/Autopublish-cron-job
Open

fix: add cron job for autopublish#6359
KrissDrawing wants to merge 21 commits into
mainfrom
6213/Autopublish-cron-job

Conversation

@KrissDrawing
Copy link
Copy Markdown
Collaborator

This PR addresses #6213

  • Addresses the issue in full
  • Addresses only certain aspects of the issue

Description

Review after #6181
Adds publish listing cron job that will publish listing when in scheduled state and scheduledPublishedAt date is in the past.

How Can This Be Tested/Reviewed?

I added some quicker strings sth like:

LISTING_SCHEDULED_PUBLISH_CRON_STRING=* * * * *
LISTING_SCHEDULED_PUBLISH_RETRY_CRON_STRING=* * * * *

So there we need to test that it wont publish listings with scheduledPublishedAt in the future.
and that it publish it when its in the past.
It requires scheduled state.

Author Checklist:

  • Added QA notes to the issue with applicable URLs
  • Reviewed in a desktop view
  • Reviewed in a mobile view
  • Reviewed considering accessibility
  • Added tests covering the changes
  • Made corresponding changes to the documentation
  • Ran yarn generate:client and/or created a migration when required

Review Process:

  • Read and understand the issue
  • Ensure the author has added QA notes
  • Review the code itself from a style point of view
  • Pull the changes down locally and test that the acceptance criteria is met
  • Either (1) explicitly ask a clarifying question, (2) request changes, or (3) approve the PR, even if there are very small remaining changes, if you don't need to re-review after the updates

@KrissDrawing KrissDrawing added the 1 review needed Requires 1 more review before ready to merge label May 29, 2026
Base automatically changed from 6181/Admin-updates-when-in-scheduled-status to main June 1, 2026 08:52
@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 1, 2026

Deploy Preview for partners-bloom-dev ready!

Name Link
🔨 Latest commit 952e771
🔍 Latest deploy log https://app.netlify.com/projects/partners-bloom-dev/deploys/6a1d4904a356140008cb8186
😎 Deploy Preview https://deploy-preview-6359--partners-bloom-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 1, 2026

Deploy Preview for bloom-angelopolis canceled.

Name Link
🔨 Latest commit 952e771
🔍 Latest deploy log https://app.netlify.com/projects/bloom-angelopolis/deploys/6a1d490509beab000866546c

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 1, 2026

Deploy Preview for bloom-exygy-dev ready!

Name Link
🔨 Latest commit 952e771
🔍 Latest deploy log https://app.netlify.com/projects/bloom-exygy-dev/deploys/6a1d4904fc0b3a00081f1ba7
😎 Deploy Preview https://deploy-preview-6359--bloom-exygy-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 1, 2026

Deploy Preview for bloom-public-seeds ready!

Name Link
🔨 Latest commit 952e771
🔍 Latest deploy log https://app.netlify.com/projects/bloom-public-seeds/deploys/6a1d4904121c7d00086d87d6
😎 Deploy Preview https://deploy-preview-6359--bloom-public-seeds.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 review needed Requires 1 more review before ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant