Welcome Guest, Not a member yet? Register   Sign In
Question about e-mail sending app, send 50, wait 15 min. sendo more 50...
#5

[eluser]Rick Jolly[/eluser]
[quote author="Rubiz’" date="1207679893"]Thanxs for answering Inparo e Rick Jolly, I have read this post, it seems this subject is frequently asked!
And same senior developers have to think about better solutions for it.

A friend of mine told me about javascript functions, like setInterval and seTimeout, I could launch PHP by this, instead of get a refresh meta tag refreshing the browser all time.

1. Get and send 50 e-mails, keeping the last e-mail id sent.
2. PHP calls a time javascript function
3. After 15 min javascript calls the responsible controller and the process inits again...

You think this can be a fine solution?[/quote]
The answer is cron. There is no better solution.


Messages In This Thread
Question about e-mail sending app, send 50, wait 15 min. sendo more 50... - by El Forum - 04-08-2008, 10:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB