<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div style="color: rgb(0, 0, 0); font-family: verdana, geneva; font-size: 10pt; ">I have a module that hooks nodeapi and if an update has been performed on the correct content type, I create an XML file and transmit it.</div><div style="color: rgb(0, 0, 0); font-family: verdana, geneva; font-size: 10pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: verdana, geneva; font-size: 10pt; ">The problem is that the XML files were being created en masse, where normally an editor edits a single piece of content. The culprit has tentatively been identified as a cron run that updates each node with Facebook 'like' statistics, which performs a node save. Interestingly, some settings in the file end up being different...settings that should in no way be affected by what triggers the update, given that the node data used is not different in either case.</div><div style="color: rgb(0, 0, 0); font-family: verdana, geneva; font-size: 10pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: verdana, geneva; font-size: 10pt; ">I put the following line in the hook function:</div><div style="color: rgb(0, 0, 0); font-family: verdana, geneva; font-size: 10pt; "><br></div><div><div style=""><font class="Apple-style-span" face="verdana, geneva" size="2" style="">&nbsp; &nbsp; if (variable_get('cron_semaphore', FALSE) || user_is_anonymous()) return;</font></div><div style=""><br></div><div style="">I would think that a cron initiated trigger would fail for both conditions. It does not fail at all. I'm stuck!</div></div></span></body></html>