# \[ANN\] Scheduler extension

**URL:** <https://www.ruby-forum.com/t/ann-scheduler-extension/116028>\
**Category:** Radiant CMS\
**Created:** [October 1, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/ann-scheduler-extension/116028 "2007-10-01T18:40:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [October 1, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/ann-scheduler-extension/116028/1 "2007-10-01T18:40:13Z")

</div>

Ask and you shall receive.

The Scheduler extension is now available from:

[http://dev.radiantcms.org/svn/radiant/trunk/extensions/scheduler](http://dev.radiantcms.org/svn/radiant/trunk/extensions/scheduler)

Its primary job is to create publish and expiration dates (or  
appearance and disappearance) that are configurable by the content  
editor. These may be set in the “meta” area of the page editing  
screen, and include a calendar-style date picker, thanks to Dan W.'s  
wonderful LowPro library (and his date\_selector behavior). These  
dates only affect what may be found from the ‘live’ site. All pages  
are accessible when in ‘dev’ or ‘preview’ mode.

Unfortunately, the extension does not affect iteration over children,  
etc. I will probably fix this limitation this week, as it affects a  
great many usage patterns in Radiant for generating navigation, etc.  
In the meantime, enjoy the extension. Here’s a quick installation  
tutorial

1. Use subversion to checkout or export the above URL into  
vendor/extensions of your Radiant project.
2. Run ‘rake production db:migrate:extensions  
radiant:extensions:scheduler:update’ (substitute development if you  
are using that env)
3. (Re)start your server.
4. If you want to run the extension tests, make sure to run ‘rake  
db:test:prepare’ before you begin.

Cheers!

Sean

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [October 1, 2007, 8:47pm UTC](https://www.ruby-forum.com/t/ann-scheduler-extension/116028/2 "2007-10-01T20:47:28Z")

</div>

Thanks, Sean!

Would you mind dropping this into the README for the extension?  
It seems like half the extensions out there say “Description goes  
here” and I always appreciate the details with the extension itself.

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [October 1, 2007, 8:49pm UTC](https://www.ruby-forum.com/t/ann-scheduler-extension/116028/3 "2007-10-01T20:49:13Z")

</div>

No problem.

Sean

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [October 2, 2007, 12:37am UTC](https://www.ruby-forum.com/t/ann-scheduler-extension/116028/4 "2007-10-02T00:37:16Z")

</div>

> > > Unfortunately, the extension does not affect iteration over children,  
> > > etc. I will probably fix this limitation this week, as it affects a  
> > > great many usage patterns in Radiant for generating navigation, etc.

FYI This limitation has been fixed as of r511 and r512.

Sean

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [October 2, 2007, 3:18pm UTC](https://www.ruby-forum.com/t/ann-scheduler-extension/116028/5 "2007-10-02T15:18:46Z")

</div>

I failed to mention it before, but I just updated the README to  
reflect this… The scheduler extension requires you to install the  
“shards” extension. Additionally, while it is not required, it is  
_recommended_ you freeze your instance to edge. This is primarily so  
you can use the extension loading order configuration that Daniel  
created. If you don’t, you will need to prefix the shards directory  
with 000\_ or something so it loads first.

Sean
