ubyssey.ca icon indicating copy to clipboard operation
ubyssey.ca copied to clipboard

Wagtail scheduled publishing feature

Open brittkhat opened this issue 2 years ago • 4 comments

There is an option to schedule when an article is published through wagtail's cms for the website. Investigate if it is deactivated or buggy.

brittkhat avatar Mar 09 '22 07:03 brittkhat

Investigate and inquire wagtail for further information wagtailcms.slack.com

brittkhat avatar Mar 10 '22 22:03 brittkhat

Any update on this ?

GabrielPRomero avatar Mar 29 '22 13:03 GabrielPRomero

https://docs.wagtail.org/en/v2.4/reference/pages/theory.html#scheduled-publishing https://docs.wagtail.org/en/v2.4/reference/management_commands.html#publish-scheduled-pages https://cloud.google.com/appengine/docs/legacy/standard/java/config/cronref-yaml

brittkhat avatar Oct 26 '22 01:10 brittkhat

Workflow:

  1. Draft is completed and approved for scheduled publishing
  2. Enter Go Live: Date/Time in Settings Tab
  3. Hit Publish.
  4. Article status will be scheduled
  5. Web Development runs python management commands: Current: ./manage.py publish_scheduled_pages Django 4.1: ./manage.py publish_scheduled

To Do: create automation: cron task google cloud server?

brittkhat avatar Nov 02 '22 05:11 brittkhat

After the new changes to the homepage, the above workflow will not be feasible as the editors have to physically add the new top articles to the homepage. This was done on purpose to prevent the guide articles from covering our homepage and pushing the more relevant articles to the top.

FireBoyAJ24 avatar Aug 22 '23 11:08 FireBoyAJ24

You can schedule a cronjob with https://console.cloud.google.com/cloudscheduler/

SamuelmdLow avatar Jun 07 '24 08:06 SamuelmdLow

The best option seems to be specifying cronjobs to google app engine with a cron.yaml file

https://cloud.google.com/appengine/docs/legacy/standard/java/config/cron-yaml

SamuelmdLow avatar Jun 18 '24 04:06 SamuelmdLow