Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Cron Ghost

No security coverage Drupal 9–10 · not 11
View on drupal.org

Cron Ghost automatically unpublishes content at a scheduled time. You can configure this by selecting content types and setting an unpublish date and time when creating or editing content.

Cron Ghost does one job - automatically unpublishes content at a time you choose.

Other modules to consider

If you'd like to publish and unpublish content on a schedule, consider these other modules:

Scheduler

Scheduled Transitions

Post-Installation

Choose which content types will use Cron Ghost via Configuration -> Content authoring -> Cron Ghost Settings, or by visiting /admin/config/cron-ghost on your site.

After enabling Cron Ghost for a content type, edit that content type's Form Display so the "Unpublish date and time" field is enabled and in the position you'd like it to be on the form.

Use

When creating or editing content, set the "Unpublish date and time" to the date and time you'd like the content to be automatically unpublished.

This functionality depends on cron being run at regular intervals.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Apr 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.0 Stable 9–10 Apr 19, 2025