Skip to content

jonathan1055/scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scheduler

Build Status

Scheduler gives website editors the ability to schedule content to be published and unpublished at specified dates and times in the future.

Scheduler provides hooks and events for third-party modules to interact with the process during content editing and during cron publishing and unpublishing.

A plugin system allows support for any Drupal entity type that has the concept of a 'published' status. As at Scheduler version 2.0 Node content, Media entities, Commerce Products and Taxonomy Terms are supported.

Requirements

  • Scheduler uses the following Drupal 8 Core components: Actions, Datetime, Field, Node, Text, Filter, User, System, Views.

  • There are no special requirements outside core.

Integration with other modules

  • Rules: Scheduler provides actions, conditions and events which can be used in Rules to build additional functionality.

  • Token: Scheduler provides tokens for the two scheduling dates.

  • Devel: When generating new test content via Devel Generate, Scheduler can add publishing dates automatically.

  • Scheduler Content Moderation Integration If you use core Content Moderation then you should also install this sub-module, contributed by the folks at Thunder

  • Media: Core media items can be scheduled for publishing and unpublishing.

  • Commerce: Commerce products can be scheduled for publishing and unpublishing.

  • Taxonomy: Core taxonomy terms can be scheduled for publishing and unpublishing.

Installation

Configuration

  • Configure user permissions via url /admin/people/permissions#module-scheduler or Administration » People » Permissions

    • "Schedule publishing and unpublishing of {type}"

      Users with this permission can enter dates and times for publishing and/or unpublishing, when editing content of types which are Scheduler-enabled.

    • "View scheduled {type}"

      Users can always see their own scheduled content, via a tab on their user page. This permissions grants additional authority to see the full list of scheduled content by any author, providing the user also has the core permission 'access content overview' or the equivalent for other entity types.

    • "Administer scheduler"

      This permission allows the user to alter all Scheduler settings. It should therefore only be given to trusted admin roles.

  • Configure the Scheduler global options via /admin/config/content/scheduler or Administration » Configuration » Content Authoring » Scheduler

    • Basic settings: allow a date only and set a default time.

    • Lightweight Cron: This gives sites admins the granularity to run Scheduler's functions only on more frequent crontab jobs than the full Drupal cron run.

  • Configure the Scheduler settings per entity type:

    • Administration » Structure » Content Types » Edit
    • Administration » Structure » Media Types » Edit
    • Administration » Commerce » Configuration » Product Types » Edit
    • Administration » Structure » Taxonomy » Vocabulary » Edit
  • The system status report at /admin/reports/status has a Scheduler Timecheck section, giving details of the server time, default site time and current user time.

Troubleshooting

Maintainers

Current maintainers:

Previous maintainers: