[freeside-users] Expiration alerter questions

Richard Siddall richard.siddall at elirion.net
Mon Dec 4 12:09:59 PST 2006


Gerald V. Livingston II wrote:
> I'm setting up and using the expiration alerter in Freeside 1.58. I fiddled
> with the email template a bit to see what it would look like but it appears
> that freeside-expiration-alerter sets a flag somewhere that prevents it
> from repeatedly emailing a customer if run daily. I changed the expiration
> date on my test account and got the email the first time I ran it but can't
> get it to send me a new email even if I keep changing the expiration date
> on the test customer to a good date then back to an about-to-expire date.
> 

I don't see it setting any flags.  Looks to me like it will send out an 
e-mail 30, 15, and 5 days before expiration of a customer's credit card. 
  It has a 24 hour window, so it'll send out an e-mail every time you 
run it within a 24 hour period, i.e. it's designed to be run once daily, 
every day.

Since you probably only have the month and year of expiration in the 
database, it effectively only does something 30, 15, and 5 days before 
the end of the month.

Look for the 60 * 60 near the top of the script 
(FS/bin/freeside-expiration-alerter).  Doesn't look like you can 
customize the dates in the current version.

Regards,

	Richard.


More information about the freeside-users mailing list