FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Hourly script
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Hourly script [message #173304 is a reply to message #173298] Sat, 02 April 2011 20:37 Go to previous messageGo to previous message
P E Schoen is currently offline  P E Schoen
Messages: 86
Registered: January 2011
Karma:
Member
"Question Boy" wrote in message
news:bc56da6b-df1c-4a56-9789-78fd24c0268d(at)s9g2000yqm(dot)googlegroups(dot)com...

> I built a mailing tool for a custom database for a charity
> organisation and it does work, but our host has a limit of
> 200 e-mails an hour. As it stands, someone has to manually
> send out 200 e-mails every hour until the whole lot is processed
> (2800 recipients and growing). I was simply wondering if there
> is a way to modify/add a bit of code to process the entire
> recordset in batches of 200 records per hour?

The other responses are probably all you need. The CRON job seems to require
access to the UNIX environment, and I'm not sure how that might be done if
you are working from a Windows platform. There are many ways to do this, but
the best way may depend on just how your script is written. I am assuming it
is PHP and is running on either a remote host or your localhost Apache
server or equivalent.

Since I am using a Win7 machine, which may go to sleep or shut down once in
a while, it would make better sense to run whatever scheduling application
on the remote server. And in that case, of course, the address list and the
content would need to be there as well, probably in a MySQL or similar
database. I found the following that may help:
http://www.phpjobscheduler.co.uk/

Otherwise, there may be some free email servers that permit mass mailings,
and if not, there are some that seem to be inexpensive. Here are some
reviews: http://email.about.com/od/freeemailreviews/tp/free_email.htm

Paul
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stats comp.lang.php (last 7 days)
Next Topic: Firefox PHP error report
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 19:30:15 GMT 2024

Total time taken to generate the page: 0.05431 seconds