Documentation
Site building

Schedule episodes

Publish and unpublish episodes at a set time with the Scheduler module.

Podcast Publisher works with the optional Scheduler module, version 2.3 or later. Prepare an episode ahead of time and let cron publish it at the release time. Scheduling needs a Podcast Publisher release newer than 1.0.0-alpha10.

Install Scheduler

composer require 'drupal/scheduler:^2.3'
drush en scheduler

Turn on scheduling for episodes

  1. Open /admin/config/content/scheduler/podcast_episode. You also reach it from Configuration → Content authoring → Scheduler through the Podcast Episodes link in the drop-button.
  2. Check Enable scheduled publishing for podcast episodes.
  3. Check Change podcast episode creation time to match the scheduled publish time. The feed uses an episode's Authored on date as its publication date, so podcast apps then show the release date.
  4. To take episodes offline at a set time, also check Enable scheduled unpublishing for podcast episodes.
  5. Click Save.

Grant Schedule publishing and unpublishing of Podcast Episode at People → Permissions to the roles that release episodes.

Schedule an episode

The episode form now has a Scheduling options tab with Publish on and Unpublish on. Enter a date and time and save. The episode stays unpublished, out of the feed, until the next cron run after that time.

Run cron at least as often as the precision you need, for example every five minutes. Scheduler also offers a lightweight cron URL that only publishes and unpublishes, at Configuration → Content authoring → Scheduler → Lightweight cron.

A Podcast Episode Page is a separate node with its own Published checkbox. To release it at the same time, enable scheduling on the Podcast Episode Page content type and give the node the same Publish on date.

Who sees unpublished episodes

Scheduled episodes are unpublished. Only users with View unpublished podcast episode or Edit podcast episode can open them. See Permissions.