<p>you can write up a PHP script to grab all the transactions within a set timeframe of the account. Save them in a file.</p>

<p>schedule a cron job to run the PHP every few minute, when it runs, compare the new transactions with the saved one.</p>

<p>If it's new, send an alert email, and update the file.</p>

CC BY-SA 3.0
2017-06-07T18:25:41.740Z
2017-06-07T18:25:41.740Z
Toxnyc
<p>Let say I have a nxt node up on my lamp server and I want to monitor a few NXT / Ardor addresses for activity and then email me. How can this be done? Is there a special setting or a snippet of php code I can use to do something like this? Or do I have to constantly query the NXT server to check if an address has any activity at all? </p>

<p>I know about <a href="https://arguseyes.net/" rel="nofollow noreferrer">https://arguseyes.net/</a> to monitor transactions, but was wondering how to do it myself. </p>

<nxt><ardor>
Send an email when there is activity on a NXT / Ardor account address in php?
Patoshi パトシ
# Send an email when there is activity on a NXT / Ardor account address in php?

(Asked by: username_0 on 2016-11-03)

Let say I have a nxt node up on my lamp server and I want to monitor a few NXT / Ardor addresses for activity and then email me. How can this be done? Is there a special setting or a snippet of php code I can use to do something like this? Or do I have to constantly query the NXT server to check if an address has any activity at all?

I know about <https://arguseyes.net/> to monitor transactions, but was wondering how to do it myself.

**Tags:** nxt, ardor


---

## 1 answers

### Answer by username_1 on 2017-06-07. Score: 3 | Accepted answer

you can write up a PHP script to grab all the transactions within a set timeframe of the account. Save them in a file.

schedule a cron job to run the PHP every few minute, when it runs, compare the new transactions with the saved one.

If it's new, send an alert email, and update the file.


---

