Is there a simple way for an external script to detect when a node is active or not? I'd like to create a script that plays back a message, but only when the node has been inactivate for some period of time and then occasionally once it is active. Similar to how WAN RS does theirs, but I'm pretty sure they use a cron job to do that. I'd like to just detect activity and so it based up on that. Thanks in advance, and any pointers appreciated. Alan
You can use tail messages for the periodic activity. The info is http://ohnosec.org/drupal/node/160 on that page. K0JSC On Sun, Nov 11, 2012 at 6:51 AM, Alan Adamson <adamson_alan@hotmail.com>wrote:
**
Is there a simple way for an external script to detect when a node is active or not? I'd like to create a script that plays back a message, but only when the node has been inactivate for some period of time and then occasionally once it is active. Similar to how WAN RS does theirs, but I'm pretty sure they use a cron job to do that. I'd like to just detect activity and so it based up on that.
Thanks in advance, and any pointers appreciated.
Alan
_______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
participants (2)
-
Alan Adamson -
Jeff Carrier