Hi there I have followed this tutorial http://drupal.org/node/520016 for Publish and unpublish content regularly on some week days (scheduling loops). The tutorial is fine with one problem its based on tutorial 2 http://drupal.org/node/517674 which allows us to publish content exactly 24 hours after creation. This a great and all but how do I get to publish my content at a specific time of the day?
I have a content type called flight schedule that lists all incoming and outgoing flights at the airport. The schedule is mostly fixed so its repeated weekly. I want to have the publishing and unpublishing of the content to happen at midnight every day. How do I go about doing that? The tutorials as much as they are informative they still lack a bit of specificity. I'd be most grateful for any assistance so I can move onto other issues. Thank you in advance
Regards
Hardrocker
Comments
Comment #1
skobe commentedI'm currently digging through the rules module too and stumbled over your post during the search for the solution of my problem. :) I think maybe you could publish or unpublish a node every midnight by setting the scheduled evaluation date to something like: [:global:site-date-date] 00:00:00. just a guess..
Greetings,
skobe
Comment #2
Hardrocker commentedHi Skobe,
Thanks for your response. I have used Tutorial 3: Publish content based on a CCK date field and added another date field for unpublished time. It seems to be working fine for now. My only problem is my time zone is -0400 which publishes and unpublishes the content after the time set. Still working on a solution for this.
Comment #3
skobe commentednot sure if i get you right. so rules schedules the publishing and unpublishing queues not according to your timezone? if so i had the same problem and solved it by setting the right timezone under admin/settings/date-time/configure
Comment #4
tr commented