Last updated August 9, 2009. Created by jonathan1055 on January 13, 2007.
Edited by Eric Schaefer, Vacilando, smk-ka, LeeHunter. Log in to edit this page.
Scheduler module
Introduction
This module allows nodes to be published and unpublished on specified dates and times.
If JSCalendar is enabled (part of the JSTools module), a popup Javascript calendar is used to select the date and time for (un)publishing of nodes (only Drupal 5 version), otherwise it defaults to text input.
Installation
- Copy the scheduler directory to your modules directory.
- Enable the module, database schemas will be setup automatically.
- Grant users the permission "schedule (un)publishing of nodes" so they can set when the nodes they create are to be (un)published.
- You can also set the date/time format to be used in Administer -> Site configuration -> Schedule module settings.
- Visit Administer -> Content management -> Content types and select any node type and check the box "enable scheduled (un)publishing" for this node type.
- Check "Alter published on time" to alter the published on time to match the scheduled time.
- Repeat for all node types that you want scheduled publishing for.
Usage
For node types that have been enabled for using Scheduler the node edit page has an extra collapsible fieldset. In this you will find:
- Publish on
- Unpublish on
Publish on: Enter here the date that you would like the posting to be published. Leave this blank to disable automatic scheduled publishing. This is useful if you would like to make a posting published immediately but then unpublished at a later date.
Unpublish on: Enter here the date that you would like the posting to be unpublished. Leave this blank if you do not want the posting to be automatically unpublished.
Notes
- If you have JSCalender (part of the JSTools module) installed and enabled, then the publish and unpublish dates can be entered with the JSCalender pop-up (only Drupal 5 version)
- Scheduled automated publish and unpublish functions occur via the cron system so the actual, real world, publication times will be aligned to when your cron system runs. For example, if you enter a published time of 3:45pm but cron only runs once an hour on the hour then the real publish time will be 4:00pm and not 3:45pm.
- The creation time of the node will be set to the scheduled publication time if you enable "Alter published on time" in the content-type settings.
Comments
Exactly where do you enable scheduler for each content type?
Just to clarify the above: to enable scheduler for a particular content type, you need to be on the
editpage for that type. The relevant checkboxes are under "Workflow Settings."See this screenshot, under this bug thread.
Hope this helps. :)
Perhaps that's where enabling options are in Drupal 5...?
In Drupal 6, on my set-up at least, it shows up OUTSIDE of "Workflow", and beneath.