How can I put a timed pause between CFMAIL sendouts?

A preface, this is not marketing e-mailing I'm discussing, it's already opted-in government notifications requested by the customers.
This is driving me absolutely crazy.  I've got a working SQL query that pulls a number or records (e-mail addresses), then sends out a series of mailings in batches (still working on that part).
What I'm stuck on is how in the world can I pause the CFMAIL processings between batches?  For example, I want to send 500 e-mails, pause for 10 minutes, send the next 500, etc.
CFTHREAD looks kinda like what I might need but I'm not sure.
We're afraid of sending all at once (probably no more than 5,000 to 10,000 total) in fear of being blacklisted.  Usually this app will only send 100 to 500 at a time.
Thanks in advance for any help you guys can give!
This is for CF8, incidentally.
T

I've developed a mailing application like this for our own (used for sending up to 100k emails per job so far without a problem) and my solution was this (simplified):
1) set-up a CFusion cronjob that runs every X minutes and executes the following
2) select all records/email-addresses within the sql query (no maxrows parameter)
3) cfloop over this query result-set with startrow and endrow parameter to select just the desired number of addresses
4) stored endrow value in database and used this one as startrow param for the next run/loop, X minutes later... and so on
I do not think that using cfsleep is wise, as such mailingjobs could potientially run for hours if not days, and you don't want to let scripts run this long.
First they occupy one of the precious "max parallel cf threads" slots on your server and second you could potentially loose all progress of this task if your server ever restarts while this script is running.

Similar Messages

  • How can I put a time delay between specific events in a while loop?

    How can I put a time delay between specific events within the same while loop? I'm already using the "wait" command to control the overall loop iteration speed. But I want to time the individual events as well.

    Hi Jesse,
    You can use a flat sequence. In each box you can put your individual events and attached wait.
    Don't forget to reduce your total loop time of the time you added in the individual sequences.
    Doc-Doc
    Doc-Doc
    http://www.machinevision.ch
    http://visionindustrielle.ch
    Please take time to rate this answer

  • Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Thank you Joe - I tried this but it's only showing a teensy amount of music - the stuff on the second users account as opposed to the giagntic library on the 'main' account. I actually went to a Genius Bar and they said that apple doesn't really want you to share music between accounts - parents don't want to hear their kids music etc. Which seemed strange, but it might be the case sadly   Thanks anyway!

  • When I switch between calls, how can I put some mu...

    Hello.
    When I switch between calls, how can I put some music to the person that is wainting.
    I have a N70. And, frequently when I have a call somebody calls me. What I use to do is to put one of then in hold while I'm finishing one of the calls.
    I would like to put music playing to the person that is wainting/ is holding the call.
    Is it possible?
    Marco

    I don't think it's possible to keep sending audio while a call is on Hold.
    So I don't think you can do that.
    640K Should be enough for everybody
    El_Loco Nokia Video Blog

  • How can i put apps from one ipod to a new ipod?

    how can i put apps from one ipod to a new ipod?

    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • How can I put my icloud photos to camera roll or photo stream?

    I got a nee iphone, i backed up everything and restored it into mu new iphone, but the pictures didn't restore so i did it manually but now on my phone i got different albums icloud photo stream and camera roll. How can i put the icloud picture into camera roll or photo stream. Any ideas?? On my old iphone ive deleted everything.

    Hello Ozzie94,
    Thanks for the additional information. The camera roll is designed for photos taken on your device, or saved images from Mail and other applications. Photos synced from a computer are organized into their own album(s):
    View photos and videos - iPhone
    http://help.apple.com/iphone/7/#/iph3d267610
    - Camera Roll—photos and videos you took on iPhone, or saved from an email, text message, webpage, or screenshot
    - Shared photos and videos—Photos and videos that you’ve shared with iCloud Photo Sharing or that others have shared with you (see iCloud Photo Sharing)
    - Photos and videos synced from your computer (see Sync with iTunes)
    Additionally, you may find more information by using another one of Apple's support resources - https://getsupport.apple.com
    Thanks,
    Matt M.

  • How can I make a server differ between two or more clients?

    How can I make a server differ between two or more clients?
    The clients can connect and talk to the server fine, but how can I make the server talk to one, two or all clients? i.e. what would be a good way to implement this?
    Currently, the server listens for connections like this:
    while (listening) {
    try {
    new ServerThread(this, serverSocket.accept()).start();
    I guess one way would be to add the ServerThreads to a Hashtable with the client ID as key, and then get the ServerThread with the proper client ID, but this seems unnecessary complicated. Any ideas?

    Complicated was perhaps the wrong word, I should have
    written something like it doesn't "feel" right. Or is
    this a common and good way to solve communication
    between a server and multiple clients?Thats pretty much how I do it. I normally use an array or ArrayList of Sockets instead of HashTable, with [0] being the first player etc.... Then you can communicate with exactly who you want. If you want to send bytes to all of them, just send the same thing to each socket individually (or is there a better way to do this?).

  • How can I put my podcasts in one place and my music in another?

    How can I put my playlists on my NAS media server (Buffalo Linkstation mini) so I can access them through Home Sharing and Sonos?  FYI, right now I run my iTunes with media location on my laptop's c: drive so I can manage podcasts while on the go and map a lettered network drive to the media server device when I connect up at home.

    Duplicated: https://support.mozilla.com/en-US/questions/886179

  • How can i put my itunes library from an old mac g4 10.4.11 to an ipod2?

    How can i put my itunes library from an old mac g4 10.4.11 to an ipod2?

    Install iTunes 9.2.1 on your computer. If the device's requirements specify iTunes 10 or newer, you need to purchase Mac OS X 10.5 on DVD.
    (63879)

  • How can i put photos from my mac to my ipad touch

    How can i put photos from my mac to my ipad touch
    I have them in an album.
    Thanks for your help

    See:
    iOS and iPod: Syncing photos using iTunes

  • On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?

    On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?
    In my current Firefox, the "new tab" icon/item from the "customize" pop-up window menu of items is placed next to my home, back, forward buttons near the top-left of my header (Button 1 for "new tab"). Then, the tab bar automatically come with a small tab (with a + sign) to the right of your last tab opened (so you click on + and a new tab opens. Button 2 for "new tab"). I like to have this "new tab" button twice (as a + mini tab, and next to my "home icon".
    When I upgraded to Firefox 4, I seemed to be only able to "customize" or use the "new tab" in one place. Either as an icon next to home button, or as a "+ minitab", but NOT both.
    What can I do to put this button in Firefox 4 on BOTH places???
    Your help is really appreciated. I want to upgrade, but I want my buttons on both places...
    I upgraded to FF 4, but downgraded again just because this feature... that's just me of coarse :-)

    *New tab toolbar button: https://addons.mozilla.org/firefox/addon/new-tab-toolbar-button/

  • How can I put a .pdf (or table) in iWeb that one sees on the web site on a web page without downloading?

    How can I put a pdf (not downloadable, but viewed on the website) or a table in iWeb?

    If it's a one page PDF file just drag it onto the webpage and resize to fit. If it's a multi page PDF file you can add it as in this demo page: Scrolling Text Box
    OT

  • How can I put my recently purchased iTunes movies on to my thumb drive and WD My Passport external hard drive. My Mac keeps saying "can't be copy because it is too large for the volumes format

    How can I put my recently purchased iTunes movies onto my thumb drive and WD my passport external hard drive.My Mac is saying that can't be copied because it is too large for volumes format

    [file] is too large for the volumes format
    That is usually an indication that the Volume was never Erased or Partitioned for GUID partition table and Mac OS, and is still in a Windows format.
    Mac OS X Extended (journaled) has no such file-size limitations

  • I have ringtones on itunes how can I put them on my iphone 4

    I have ringtones on itunes how can I put them on my iphone

    It has always been very basic to always maintain a backup copy of your computer for just such an occasion.  Use your backup copy to put everything back.
    If for some strange reason you have failed to backup ( not good at all), then you can transfer itunes purchases from an ipod:  File>Transfer Purchases

  • I have three different listings for Bob Seger on my iPod (bob Seger, Bob Seger System and Bob Seger and The Silver Bullet Band) How can I put all 3 in the same artist folder without changing artist name?

    I have three different listings for Bob Seger on my iPod (Bob Seger, Bob Seger System and Bob Seger and The Silver Bullet Band) How can I put all 3 in the same artist folder without changing artist name?

    Can you just create a new "Playlist", name it Bob Seger and drag what you want into the Playlist.
    File/New Playlist

Maybe you are looking for

  • Thunderbolt 2 and Presonus 24.42

    I've just bought a Presonus Studiolive 24.4.2 board (not the AI version).  It's on back order and scheduled to arrive at the end of this month.  I'm in need of a new laptop and was looking at MacPro, which I'll use to run Presonus's Capture software

  • ORA-00600 problem

    I have a java program to select the data from the db for every 15 secs, however after running for 1-2 days, it throws the following exception: java.sql.SQLException: ORA-02068: following severe error from TECH02 ORA-00600: internal error code, argume

  • Looking for userexit

    Dear experts, I'm not sure if this is the correct place to pose this questions, if I'm at the incorrect place, please let me know. I'm wondering if there is a userexit or maybe even a BADI available for the following requirement: After creating a ret

  • Photoshop Elements 12 Editor

    When I open photoshop elements and click on the editor a message box appears that states PSE 12 Editor has stopped working.  Help?

  • Sync problem with BDM

    i find it fail to sync media files such as video from my itune library to playbook by using BDM but it is okay by just copy and paste or drag the file thru Finder (i am using Macbook Pro with OS X 10.7 Lion) what seem the problem to be? thanks all