这是indexloc提供的服务,不要输入任何密码
Skip to content

Implement Scheduling of Publishing Tasks #383

@DennisAlund

Description

@DennisAlund

Description

Implement a feature that allows scheduling of publishing tasks in the future using Cloud Tasks. This will enable documents to be published automatically at a specified date and time.

This issue depends on #382

Requirements

  1. Scheduling Publish Tasks:

    • Allow users to schedule a publish task for a document by selecting a future date and time.
    • Use Cloud Tasks to handle the scheduling and execution of these publish tasks.
  2. Cloud Function Integration:

    • Create a Cloud Function that triggers when a document's publishedAt attribute is set to a future date.
    • This Cloud Function should create a Cloud Task that will execute at the specified publishedAt time.
    • When the task is executed, the document should be published by copying data to the public collections such as described in Cloud Function for Publishing Documents to Public Collection #382
  3. Restrict Dates too far in the future:

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions