Scheduler
Scheduler module
Indtroduction
This module allows nodes to be published and unpublished on specified dates.
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, otherwise it defaults to text input.
Installation
- Copy the scheduler.module to your modules directory.
- Enable module, database schemas should 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.
- Visit admin » settings » content-types and click on any node type and check the box "enable scheduled (un)publishing" for this node type.
- 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 callapsable fieldset. In this you will find:
- Publish on
- Unpublish on
- Timezone
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 unplublished 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.
Timezone: Set this to the timezone that you would like the above dates to apply relative to.
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
- Scheduled automated publish and unpublish functions occur via the cron system so the actual, real world, publishcations times will be aligned to when your cron system runs. For example, if you enter a publsihed 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
