Skip to main content
Tweeted twitter.com/StackDrupal/status/681567330766295041
added 48 characters in body
Source Link
Pierre.Vriens
  • 36k
  • 40
  • 50
  • 182

Overall goal: If a node has not been commented on in an in a given time frame, send an email.

How it could possibly be done: Have RulesRules look at the last time a comment was posted when cron runs. Then do a data comparison of that unit (current time - last comment posted time) to see if its greater than the time frame assigned to the node (ex: hours). If so, send email.

Is this approach correct? I am struggling to get the Rule to work if it is.

Overall goal: If a node has not been commented on in an in a given time frame, send an email.

How it could possibly be done: Have Rules look at the last time a comment was posted when cron runs. Then do a data comparison of that unit (current time - last comment posted time) to see if its greater than the time frame assigned to the node (ex: hours). If so, send email.

Is this approach correct? I am struggling to get the Rule to work if it is.

Overall goal: If a node has not been commented on in a given time frame, send an email.

How it could possibly be done: Have Rules look at the last time a comment was posted when cron runs. Then do a data comparison of that unit (current time - last comment posted time) to see if its greater than the time frame assigned to the node (ex: hours). If so, send email.

Is this approach correct? I am struggling to get the Rule to work if it is.

edited title
Link
KyleRiggen
  • 364
  • 1
  • 10

Have a Rules evaluate change incondition that will take the current time minus last comment count every givenposted time frame

Source Link
KyleRiggen
  • 364
  • 1
  • 10

Have Rules evaluate change in comment count every given time frame

Overall goal: If a node has not been commented on in an in a given time frame, send an email.

How it could possibly be done: Have Rules look at the last time a comment was posted when cron runs. Then do a data comparison of that unit (current time - last comment posted time) to see if its greater than the time frame assigned to the node (ex: hours). If so, send email.

Is this approach correct? I am struggling to get the Rule to work if it is.