Node Expire Doesn't Do Anything?

ethanre - July 15, 2008 - 21:01
Project:Node Expire
Version:5.x-1.2
Component:Documentation
Category:support request
Priority:normal
Assigned:ethanre
Status:closed
Description

I have:
Drupal 5.7
Node Expire 5.x-1.2
PHP 5.2.6

Node expire is not working.

I want nodes to expire/unpublished after 1 day from being published or edited. No emails are sent, nothing is being unpublished.
I have these Node Expire Settings:
Timeout for automatic unpublishing: instantly
Enable email notifications: yes
Re-notify user every: 1 day

Defaults:
Expiration Type: after last update
Expiration Time: 1 day
Expiration Date: blank

My drupal time is OK, CRON runs OK, other cron jobs like search indexing occur, other email notifications (based on triggers) are sent OK.

To test expiration, I created a node with an admin login, set expiry by date and set a expiry date 5 minutes in the future, ran CRON. Nothing happens. Waited an hour and ran Cron with no change.

Are my Node Expire settings correct? Where should I look to troubleshoot?

#1

ethanre - July 15, 2008 - 21:37

I'm not allowed to edit a node and change the expiry date to the past. I edited the database and changed expiry date to 3 days in the past. Ran the Cron, got the email and the node was unpublished (can be found at: admin/content/node).

This may be a date/timezone issue.

#2

ethanre - July 16, 2008 - 16:37
Assigned to:Anonymous» ethanre
Status:active» closed

This was a timezone issue, sorry. My mistake.

 
 

Drupal is a registered trademark of Dries Buytaert.