Hi
I had a feature in mind i couldn't get into production module
the feature is about automating past events
look here http://drupal.org/node/124344
and here http://drupal.org/node/123277

anyway after some time thinking about this, it might be a good idea to integrate it into the event module

i am attaching my module 'past_events' (it's 5.0 functional code) with the limitations described in the links above (time zone)
its has a settings form that the user can select the action (unpublish, unsticky,unpromote, delete)
and a cron hook that writes to watchdog all events that had past and the action

can someone add the timezone factor ?
what do you think about integrating into this module

I can mange it as a separated module in the site if needed

Avior

CommentFileSizeAuthor
past_events.module.txt5.5 KBavior

Comments

HorsePunchKid’s picture

Component: Code » Documentation
Status: Active » Closed (duplicate)

This issue has come up before. You may want to check out the scheduler module, which I have used very successfully to achieve the same goal, or the more complicated but more flexible scheduled actions module.

Perhaps a note could be added to the event project page on how to deal with this, since it seems to be a frequently needed function.