Chris,
Thank you, I think that will be quite helpful.
- Brian
On Tue, Apr 16, 2019 at 02:11:18PM +0100, G1FEF via 44Net wrote:
I have written a cronjob script that will run once
each week around 2am (UK time) on a Monday.
It will search the database for all gateway entries that have no associated subnets and
that have not been updated for at least one week. Any gateways matching this criteria will
be deleted from the database and an email sent to the owner. The email will contain the
following text:
—8< SNIP >8---
Hello {givenName},
This is a system generated email from the AMPRNet Portal.
This is a courtesy notice to advise you that your gateway entry has been removed.
Your gateway was removed by an automated process that looks for gateways
that have had no attached subnets for at least one week.
Your gateway has met this criteria and has thus been removed.
It is important that the Portal data is kept up to date and accurate.
If you still want to run a gateway, please feel free to add your gateway back to the
Portal.
Your gateway's details were:
Title: {gwTitle}
IP: {gwIP}
Host: {gwHost}
Notes: {gwNotes}
Kind Regards,
The AMPRNet Team
—8< SNIP >8---
Everyone happy with this? Any comments?
Thanks,
Chris