Jump to content

Max execution time when running a cron


fastsol
Go to solution Solved by fastsol,

Recommended Posts

You can completely disable the timelimit by calling set_time_limit(0).

 

Rather than disable it, some recommend you just pick something reasonable and refresh it in a loop. Calling set_time_limit restarts the timer at zero so if you wrote something like this:

while (true){
  set_time_limit(5);
  doSomething();
}
so long as doSomething() executed in less than 5 seconds the script would run indefinitely. Only if something caused it to run longer would the script be killed.
Link to comment
Share on other sites

What about this?

For the test, I'm going to use sakila database with customer table with 599 fake emails, and swiftmailer as default php mail library.

So, to retrieve, sorting and send all e-mails I've written the following:

e_list.php

<?php 
  
  $username = 'lxc';

  $password = 'password';

  $dbh = new PDO('mysql:dbname=sakila;host=::1;charset=utf8', $username, $password);
  
$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
  
$stmt = $dbh->prepare("SELECT email, CONCAT( first_name,' ',last_name) as names FROM sakila.customer WHERE 1");

$stmt->execute();

$cust_info = array();

$count_rows = $stmt->rowCount(); 

$part = floor($count_rows / 10); 

while ($row = $stmt->fetch(PDO::FETCH_ASSOC)) {
    $cust_info[$row['email']] = $row['names'];
}

function partition( $list, $p ) {
    $listlen = count( $list);
    $partlen = floor( $listlen / $p );
    $partrem = $listlen % $p;
    $partition = array();
    $mark = 0;
    for ($px = 0; $px < $p; $px++) {
        $incr = ($px < $partrem) ? $partlen + 1 : $partlen;
        $partition[$px]= array_slice($list, $mark, $incr);
        $mark += $incr;
    }
    return $partition;
}

$stmt = null;

// sort emails
$p = partition($cust_info,$part); 

// restart the indexes of the array starting from 1
$emails = array_combine(range(1, count($p)), array_values($p));

Result of the sorting:

Array
(
    [1] => Array
        (
            [MARY.SMITH@sakilacustomer.org] => MARY SMITH
            [PATRICIA.JOHNSON@sakilacustomer.org] => PATRICIA JOHNSON
            [LINDA.WILLIAMS@sakilacustomer.org] => LINDA WILLIAMS
            [BARBARA.JONES@sakilacustomer.org] => BARBARA JONES
            [ELIZABETH.BROWN@sakilacustomer.org] => ELIZABETH BROWN
            [JENNIFER.DAVIS@sakilacustomer.org] => JENNIFER DAVIS
            [MARIA.MILLER@sakilacustomer.org] => MARIA MILLER
            [SUSAN.WILSON@sakilacustomer.org] => SUSAN WILSON
            [MARGARET.MOORE@sakilacustomer.org] => MARGARET MOORE
            [DOROTHY.TAYLOR@sakilacustomer.org] => DOROTHY TAYLOR
            [LISA.ANDERSON@sakilacustomer.org] => LISA ANDERSON
        )

    [2] => Array
        (
            [NANCY.THOMAS@sakilacustomer.org] => NANCY THOMAS
            [KAREN.JACKSON@sakilacustomer.org] => KAREN JACKSON
            [BETTY.WHITE@sakilacustomer.org] => BETTY WHITE
            [HELEN.HARRIS@sakilacustomer.org] => HELEN HARRIS
            [SANDRA.MARTIN@sakilacustomer.org] => SANDRA MARTIN
            [DONNA.THOMPSON@sakilacustomer.org] => DONNA THOMPSON
            [CAROL.GARCIA@sakilacustomer.org] => CAROL GARCIA
            [RUTH.MARTINEZ@sakilacustomer.org] => RUTH MARTINEZ
            [SHARON.ROBINSON@sakilacustomer.org] => SHARON ROBINSON
            [MICHELLE.CLARK@sakilacustomer.org] => MICHELLE CLARK
            [LAURA.RODRIGUEZ@sakilacustomer.org] => LAURA RODRIGUEZ
        )

    [3] => Array
        (
            [SARAH.LEWIS@sakilacustomer.org] => SARAH LEWIS
            [KIMBERLY.LEE@sakilacustomer.org] => KIMBERLY LEE
            [DEBORAH.WALKER@sakilacustomer.org] => DEBORAH WALKER
            [JESSICA.HALL@sakilacustomer.org] => JESSICA HALL
            [SHIRLEY.ALLEN@sakilacustomer.org] => SHIRLEY ALLEN
            [CYNTHIA.YOUNG@sakilacustomer.org] => CYNTHIA YOUNG
            [ANGELA.HERNANDEZ@sakilacustomer.org] => ANGELA HERNANDEZ
            [MELISSA.KING@sakilacustomer.org] => MELISSA KING
            [BRENDA.WRIGHT@sakilacustomer.org] => BRENDA WRIGHT
            [AMY.LOPEZ@sakilacustomer.org] => AMY LOPEZ
            [ANNA.HILL@sakilacustomer.org] => ANNA HILL
        )

    [4] => Array
        (
            [REBECCA.SCOTT@sakilacustomer.org] => REBECCA SCOTT
            [VIRGINIA.GREEN@sakilacustomer.org] => VIRGINIA GREEN
            [KATHLEEN.ADAMS@sakilacustomer.org] => KATHLEEN ADAMS
            [PAMELA.BAKER@sakilacustomer.org] => PAMELA BAKER
            [MARTHA.GONZALEZ@sakilacustomer.org] => MARTHA GONZALEZ
            [DEBRA.NELSON@sakilacustomer.org] => DEBRA NELSON
            [AMANDA.CARTER@sakilacustomer.org] => AMANDA CARTER
            [STEPHANIE.MITCHELL@sakilacustomer.org] => STEPHANIE MITCHELL
            [CAROLYN.PEREZ@sakilacustomer.org] => CAROLYN PEREZ
            [CHRISTINE.ROBERTS@sakilacustomer.org] => CHRISTINE ROBERTS
            [MARIE.TURNER@sakilacustomer.org] => MARIE TURNER
        )

    [5] => Array
        (
            [JANET.PHILLIPS@sakilacustomer.org] => JANET PHILLIPS
            [CATHERINE.CAMPBELL@sakilacustomer.org] => CATHERINE CAMPBELL
            [FRANCES.PARKER@sakilacustomer.org] => FRANCES PARKER
            [ANN.EVANS@sakilacustomer.org] => ANN EVANS
            [JOYCE.EDWARDS@sakilacustomer.org] => JOYCE EDWARDS
            [DIANE.COLLINS@sakilacustomer.org] => DIANE COLLINS
            [ALICE.STEWART@sakilacustomer.org] => ALICE STEWART
            [JULIE.SANCHEZ@sakilacustomer.org] => JULIE SANCHEZ
            [HEATHER.MORRIS@sakilacustomer.org] => HEATHER MORRIS
            [TERESA.ROGERS@sakilacustomer.org] => TERESA ROGERS
            [DORIS.REED@sakilacustomer.org] => DORIS REED
        )

    [6] => Array
        (
            [GLORIA.COOK@sakilacustomer.org] => GLORIA COOK
            [EVELYN.MORGAN@sakilacustomer.org] => EVELYN MORGAN
            [JEAN.BELL@sakilacustomer.org] => JEAN BELL
            [CHERYL.MURPHY@sakilacustomer.org] => CHERYL MURPHY
            [MILDRED.BAILEY@sakilacustomer.org] => MILDRED BAILEY
            [KATHERINE.RIVERA@sakilacustomer.org] => KATHERINE RIVERA
            [JOAN.COOPER@sakilacustomer.org] => JOAN COOPER
            [ASHLEY.RICHARDSON@sakilacustomer.org] => ASHLEY RICHARDSON
            [JUDITH.COX@sakilacustomer.org] => JUDITH COX
            [ROSE.HOWARD@sakilacustomer.org] => ROSE HOWARD
            [JANICE.WARD@sakilacustomer.org] => JANICE WARD
        )

    [7] => Array
        (
            [KELLY.TORRES@sakilacustomer.org] => KELLY TORRES
            [NICOLE.PETERSON@sakilacustomer.org] => NICOLE PETERSON
            [JUDY.GRAY@sakilacustomer.org] => JUDY GRAY
            [CHRISTINA.RAMIREZ@sakilacustomer.org] => CHRISTINA RAMIREZ
            [KATHY.JAMES@sakilacustomer.org] => KATHY JAMES
            [THERESA.WATSON@sakilacustomer.org] => THERESA WATSON
            [BEVERLY.BROOKS@sakilacustomer.org] => BEVERLY BROOKS
            [DENISE.KELLY@sakilacustomer.org] => DENISE KELLY
            [TAMMY.SANDERS@sakilacustomer.org] => TAMMY SANDERS
            [IRENE.PRICE@sakilacustomer.org] => IRENE PRICE
            [JANE.BENNETT@sakilacustomer.org] => JANE BENNETT
        )

    [8] => Array
        (
            [LORI.WOOD@sakilacustomer.org] => LORI WOOD
            [RACHEL.BARNES@sakilacustomer.org] => RACHEL BARNES
            [MARILYN.ROSS@sakilacustomer.org] => MARILYN ROSS
            [ANDREA.HENDERSON@sakilacustomer.org] => ANDREA HENDERSON
            [KATHRYN.COLEMAN@sakilacustomer.org] => KATHRYN COLEMAN
            [LOUISE.JENKINS@sakilacustomer.org] => LOUISE JENKINS
            [SARA.PERRY@sakilacustomer.org] => SARA PERRY
            [ANNE.POWELL@sakilacustomer.org] => ANNE POWELL
            [JACQUELINE.LONG@sakilacustomer.org] => JACQUELINE LONG
            [WANDA.PATTERSON@sakilacustomer.org] => WANDA PATTERSON
            [BONNIE.HUGHES@sakilacustomer.org] => BONNIE HUGHES
        )

    [9] => Array
        (
            [JULIA.FLORES@sakilacustomer.org] => JULIA FLORES
            [RUBY.WASHINGTON@sakilacustomer.org] => RUBY WASHINGTON
            [LOIS.BUTLER@sakilacustomer.org] => LOIS BUTLER
            [TINA.SIMMONS@sakilacustomer.org] => TINA SIMMONS
            [PHYLLIS.FOSTER@sakilacustomer.org] => PHYLLIS FOSTER
            [NORMA.GONZALES@sakilacustomer.org] => NORMA GONZALES
            [PAULA.BRYANT@sakilacustomer.org] => PAULA BRYANT
            [DIANA.ALEXANDER@sakilacustomer.org] => DIANA ALEXANDER
            [ANNIE.RUSSELL@sakilacustomer.org] => ANNIE RUSSELL
            [LILLIAN.GRIFFIN@sakilacustomer.org] => LILLIAN GRIFFIN
            [EMILY.DIAZ@sakilacustomer.org] => EMILY DIAZ
        )

    [10] => Array
        (
            [ROBIN.HAYES@sakilacustomer.org] => ROBIN HAYES
            [PEGGY.MYERS@sakilacustomer.org] => PEGGY MYERS
            [CRYSTAL.FORD@sakilacustomer.org] => CRYSTAL FORD
            [GLADYS.HAMILTON@sakilacustomer.org] => GLADYS HAMILTON
            [RITA.GRAHAM@sakilacustomer.org] => RITA GRAHAM
            [DAWN.SULLIVAN@sakilacustomer.org] => DAWN SULLIVAN
            [CONNIE.WALLACE@sakilacustomer.org] => CONNIE WALLACE
            [FLORENCE.WOODS@sakilacustomer.org] => FLORENCE WOODS
            [TRACY.COLE@sakilacustomer.org] => TRACY COLE
            [EDNA.WEST@sakilacustomer.org] => EDNA WEST
        )

    [11] => Array
        (
            [TIFFANY.JORDAN@sakilacustomer.org] => TIFFANY JORDAN
            [CARMEN.OWENS@sakilacustomer.org] => CARMEN OWENS
            [ROSA.REYNOLDS@sakilacustomer.org] => ROSA REYNOLDS
            [CINDY.FISHER@sakilacustomer.org] => CINDY FISHER
            [GRACE.ELLIS@sakilacustomer.org] => GRACE ELLIS
            [WENDY.HARRISON@sakilacustomer.org] => WENDY HARRISON
            [VICTORIA.GIBSON@sakilacustomer.org] => VICTORIA GIBSON
            [EDITH.MCDONALD@sakilacustomer.org] => EDITH MCDONALD
            [KIM.CRUZ@sakilacustomer.org] => KIM CRUZ
            [SHERRY.MARSHALL@sakilacustomer.org] => SHERRY MARSHALL
        )

    [12] => Array
        (
            [SYLVIA.ORTIZ@sakilacustomer.org] => SYLVIA ORTIZ
            [JOSEPHINE.GOMEZ@sakilacustomer.org] => JOSEPHINE GOMEZ
            [THELMA.MURRAY@sakilacustomer.org] => THELMA MURRAY
            [SHANNON.FREEMAN@sakilacustomer.org] => SHANNON FREEMAN
            [SHEILA.WELLS@sakilacustomer.org] => SHEILA WELLS
            [ETHEL.WEBB@sakilacustomer.org] => ETHEL WEBB
            [ELLEN.SIMPSON@sakilacustomer.org] => ELLEN SIMPSON
            [ELAINE.STEVENS@sakilacustomer.org] => ELAINE STEVENS
            [MARJORIE.TUCKER@sakilacustomer.org] => MARJORIE TUCKER
            [CARRIE.PORTER@sakilacustomer.org] => CARRIE PORTER
        )

    [13] => Array
        (
            [CHARLOTTE.HUNTER@sakilacustomer.org] => CHARLOTTE HUNTER
            [MONICA.HICKS@sakilacustomer.org] => MONICA HICKS
            [ESTHER.CRAWFORD@sakilacustomer.org] => ESTHER CRAWFORD
            [PAULINE.HENRY@sakilacustomer.org] => PAULINE HENRY
            [EMMA.BOYD@sakilacustomer.org] => EMMA BOYD
            [JUANITA.MASON@sakilacustomer.org] => JUANITA MASON
            [ANITA.MORALES@sakilacustomer.org] => ANITA MORALES
            [RHONDA.KENNEDY@sakilacustomer.org] => RHONDA KENNEDY
            [HAZEL.WARREN@sakilacustomer.org] => HAZEL WARREN
            [AMBER.DIXON@sakilacustomer.org] => AMBER DIXON
        )

    [14] => Array
        (
            [EVA.RAMOS@sakilacustomer.org] => EVA RAMOS
            [DEBBIE.REYES@sakilacustomer.org] => DEBBIE REYES
            [APRIL.BURNS@sakilacustomer.org] => APRIL BURNS
            [LESLIE.GORDON@sakilacustomer.org] => LESLIE GORDON
            [CLARA.SHAW@sakilacustomer.org] => CLARA SHAW
            [LUCILLE.HOLMES@sakilacustomer.org] => LUCILLE HOLMES
            [JAMIE.RICE@sakilacustomer.org] => JAMIE RICE
            [JOANNE.ROBERTSON@sakilacustomer.org] => JOANNE ROBERTSON
            [ELEANOR.HUNT@sakilacustomer.org] => ELEANOR HUNT
            [VALERIE.BLACK@sakilacustomer.org] => VALERIE BLACK
        )

    [15] => Array
        (
            [DANIELLE.DANIELS@sakilacustomer.org] => DANIELLE DANIELS
            [MEGAN.PALMER@sakilacustomer.org] => MEGAN PALMER
            [ALICIA.MILLS@sakilacustomer.org] => ALICIA MILLS
            [SUZANNE.NICHOLS@sakilacustomer.org] => SUZANNE NICHOLS
            [MICHELE.GRANT@sakilacustomer.org] => MICHELE GRANT
            [GAIL.KNIGHT@sakilacustomer.org] => GAIL KNIGHT
            [BERTHA.FERGUSON@sakilacustomer.org] => BERTHA FERGUSON
            [DARLENE.ROSE@sakilacustomer.org] => DARLENE ROSE
            [VERONICA.STONE@sakilacustomer.org] => VERONICA STONE
            [JILL.HAWKINS@sakilacustomer.org] => JILL HAWKINS
        )

    [16] => Array
        (
            [ERIN.DUNN@sakilacustomer.org] => ERIN DUNN
            [GERALDINE.PERKINS@sakilacustomer.org] => GERALDINE PERKINS
            [LAUREN.HUDSON@sakilacustomer.org] => LAUREN HUDSON
            [CATHY.SPENCER@sakilacustomer.org] => CATHY SPENCER
            [JOANN.GARDNER@sakilacustomer.org] => JOANN GARDNER
            [LORRAINE.STEPHENS@sakilacustomer.org] => LORRAINE STEPHENS
            [LYNN.PAYNE@sakilacustomer.org] => LYNN PAYNE
            [SALLY.PIERCE@sakilacustomer.org] => SALLY PIERCE
            [REGINA.BERRY@sakilacustomer.org] => REGINA BERRY
            [ERICA.MATTHEWS@sakilacustomer.org] => ERICA MATTHEWS
        )

    [17] => Array
        (
            [BEATRICE.ARNOLD@sakilacustomer.org] => BEATRICE ARNOLD
            [DOLORES.WAGNER@sakilacustomer.org] => DOLORES WAGNER
            [BERNICE.WILLIS@sakilacustomer.org] => BERNICE WILLIS
            [AUDREY.RAY@sakilacustomer.org] => AUDREY RAY
            [YVONNE.WATKINS@sakilacustomer.org] => YVONNE WATKINS
            [ANNETTE.OLSON@sakilacustomer.org] => ANNETTE OLSON
            [JUNE.CARROLL@sakilacustomer.org] => JUNE CARROLL
            [SAMANTHA.DUNCAN@sakilacustomer.org] => SAMANTHA DUNCAN
            [MARION.SNYDER@sakilacustomer.org] => MARION SNYDER
            [DANA.HART@sakilacustomer.org] => DANA HART
        )

    [18] => Array
        (
            [STACY.CUNNINGHAM@sakilacustomer.org] => STACY CUNNINGHAM
            [ANA.BRADLEY@sakilacustomer.org] => ANA BRADLEY
            [RENEE.LANE@sakilacustomer.org] => RENEE LANE
            [IDA.ANDREWS@sakilacustomer.org] => IDA ANDREWS
            [VIVIAN.RUIZ@sakilacustomer.org] => VIVIAN RUIZ
            [ROBERTA.HARPER@sakilacustomer.org] => ROBERTA HARPER
            [HOLLY.FOX@sakilacustomer.org] => HOLLY FOX
            [BRITTANY.RILEY@sakilacustomer.org] => BRITTANY RILEY
            [MELANIE.ARMSTRONG@sakilacustomer.org] => MELANIE ARMSTRONG
            [LORETTA.CARPENTER@sakilacustomer.org] => LORETTA CARPENTER
        )

    [19] => Array
        (
            [YOLANDA.WEAVER@sakilacustomer.org] => YOLANDA WEAVER
            [JEANETTE.GREENE@sakilacustomer.org] => JEANETTE GREENE
            [LAURIE.LAWRENCE@sakilacustomer.org] => LAURIE LAWRENCE
            [KATIE.ELLIOTT@sakilacustomer.org] => KATIE ELLIOTT
            [KRISTEN.CHAVEZ@sakilacustomer.org] => KRISTEN CHAVEZ
            [VANESSA.SIMS@sakilacustomer.org] => VANESSA SIMS
            [ALMA.AUSTIN@sakilacustomer.org] => ALMA AUSTIN
            [SUE.PETERS@sakilacustomer.org] => SUE PETERS
            [ELSIE.KELLEY@sakilacustomer.org] => ELSIE KELLEY
            [BETH.FRANKLIN@sakilacustomer.org] => BETH FRANKLIN
        )

    [20] => Array
        (
            [JEANNE.LAWSON@sakilacustomer.org] => JEANNE LAWSON
            [VICKI.FIELDS@sakilacustomer.org] => VICKI FIELDS
            [CARLA.GUTIERREZ@sakilacustomer.org] => CARLA GUTIERREZ
            [TARA.RYAN@sakilacustomer.org] => TARA RYAN
            [ROSEMARY.SCHMIDT@sakilacustomer.org] => ROSEMARY SCHMIDT
            [EILEEN.CARR@sakilacustomer.org] => EILEEN CARR
            [TERRI.VASQUEZ@sakilacustomer.org] => TERRI VASQUEZ
            [GERTRUDE.CASTILLO@sakilacustomer.org] => GERTRUDE CASTILLO
            [LUCY.WHEELER@sakilacustomer.org] => LUCY WHEELER
            [TONYA.CHAPMAN@sakilacustomer.org] => TONYA CHAPMAN
        )

    [21] => Array
        (
            [ELLA.OLIVER@sakilacustomer.org] => ELLA OLIVER
            [STACEY.MONTGOMERY@sakilacustomer.org] => STACEY MONTGOMERY
            [WILMA.RICHARDS@sakilacustomer.org] => WILMA RICHARDS
            [GINA.WILLIAMSON@sakilacustomer.org] => GINA WILLIAMSON
            [KRISTIN.JOHNSTON@sakilacustomer.org] => KRISTIN JOHNSTON
            [JESSIE.BANKS@sakilacustomer.org] => JESSIE BANKS
            [NATALIE.MEYER@sakilacustomer.org] => NATALIE MEYER
            [AGNES.BISHOP@sakilacustomer.org] => AGNES BISHOP
            [VERA.MCCOY@sakilacustomer.org] => VERA MCCOY
            [WILLIE.HOWELL@sakilacustomer.org] => WILLIE HOWELL
        )

    [22] => Array
        (
            [CHARLENE.ALVAREZ@sakilacustomer.org] => CHARLENE ALVAREZ
            [BESSIE.MORRISON@sakilacustomer.org] => BESSIE MORRISON
            [DELORES.HANSEN@sakilacustomer.org] => DELORES HANSEN
            [MELINDA.FERNANDEZ@sakilacustomer.org] => MELINDA FERNANDEZ
            [PEARL.GARZA@sakilacustomer.org] => PEARL GARZA
            [ARLENE.HARVEY@sakilacustomer.org] => ARLENE HARVEY
            [MAUREEN.LITTLE@sakilacustomer.org] => MAUREEN LITTLE
            [COLLEEN.BURTON@sakilacustomer.org] => COLLEEN BURTON
            [ALLISON.STANLEY@sakilacustomer.org] => ALLISON STANLEY
            [TAMARA.NGUYEN@sakilacustomer.org] => TAMARA NGUYEN
        )

    [23] => Array
        (
            [JOY.GEORGE@sakilacustomer.org] => JOY GEORGE
            [GEORGIA.JACOBS@sakilacustomer.org] => GEORGIA JACOBS
            [CONSTANCE.REID@sakilacustomer.org] => CONSTANCE REID
            [LILLIE.KIM@sakilacustomer.org] => LILLIE KIM
            [CLAUDIA.FULLER@sakilacustomer.org] => CLAUDIA FULLER
            [JACKIE.LYNCH@sakilacustomer.org] => JACKIE LYNCH
            [MARCIA.DEAN@sakilacustomer.org] => MARCIA DEAN
            [TANYA.GILBERT@sakilacustomer.org] => TANYA GILBERT
            [NELLIE.GARRETT@sakilacustomer.org] => NELLIE GARRETT
            [MINNIE.ROMERO@sakilacustomer.org] => MINNIE ROMERO
        )

    [24] => Array
        (
            [MARLENE.WELCH@sakilacustomer.org] => MARLENE WELCH
            [HEIDI.LARSON@sakilacustomer.org] => HEIDI LARSON
            [GLENDA.FRAZIER@sakilacustomer.org] => GLENDA FRAZIER
            [LYDIA.BURKE@sakilacustomer.org] => LYDIA BURKE
            [VIOLA.HANSON@sakilacustomer.org] => VIOLA HANSON
            [COURTNEY.DAY@sakilacustomer.org] => COURTNEY DAY
            [MARIAN.MENDOZA@sakilacustomer.org] => MARIAN MENDOZA
            [STELLA.MORENO@sakilacustomer.org] => STELLA MORENO
            [CAROLINE.BOWMAN@sakilacustomer.org] => CAROLINE BOWMAN
            [DORA.MEDINA@sakilacustomer.org] => DORA MEDINA
        )

    [25] => Array
        (
            [JO.FOWLER@sakilacustomer.org] => JO FOWLER
            [VICKIE.BREWER@sakilacustomer.org] => VICKIE BREWER
            [MATTIE.HOFFMAN@sakilacustomer.org] => MATTIE HOFFMAN
            [TERRY.CARLSON@sakilacustomer.org] => TERRY CARLSON
            [MAXINE.SILVA@sakilacustomer.org] => MAXINE SILVA
            [IRMA.PEARSON@sakilacustomer.org] => IRMA PEARSON
            [MABEL.HOLLAND@sakilacustomer.org] => MABEL HOLLAND
            [MARSHA.DOUGLAS@sakilacustomer.org] => MARSHA DOUGLAS
            [MYRTLE.FLEMING@sakilacustomer.org] => MYRTLE FLEMING
            [LENA.JENSEN@sakilacustomer.org] => LENA JENSEN
        )

    [26] => Array
        (
            [CHRISTY.VARGAS@sakilacustomer.org] => CHRISTY VARGAS
            [DEANNA.BYRD@sakilacustomer.org] => DEANNA BYRD
            [PATSY.DAVIDSON@sakilacustomer.org] => PATSY DAVIDSON
            [HILDA.HOPKINS@sakilacustomer.org] => HILDA HOPKINS
            [GWENDOLYN.MAY@sakilacustomer.org] => GWENDOLYN MAY
            [JENNIE.TERRY@sakilacustomer.org] => JENNIE TERRY
            [NORA.HERRERA@sakilacustomer.org] => NORA HERRERA
            [MARGIE.WADE@sakilacustomer.org] => MARGIE WADE
            [NINA.SOTO@sakilacustomer.org] => NINA SOTO
            [CASSANDRA.WALTERS@sakilacustomer.org] => CASSANDRA WALTERS
        )

    [27] => Array
        (
            [LEAH.CURTIS@sakilacustomer.org] => LEAH CURTIS
            [PENNY.NEAL@sakilacustomer.org] => PENNY NEAL
            [KAY.CALDWELL@sakilacustomer.org] => KAY CALDWELL
            [PRISCILLA.LOWE@sakilacustomer.org] => PRISCILLA LOWE
            [NAOMI.JENNINGS@sakilacustomer.org] => NAOMI JENNINGS
            [CAROLE.BARNETT@sakilacustomer.org] => CAROLE BARNETT
            [BRANDY.GRAVES@sakilacustomer.org] => BRANDY GRAVES
            [OLGA.JIMENEZ@sakilacustomer.org] => OLGA JIMENEZ
            [BILLIE.HORTON@sakilacustomer.org] => BILLIE HORTON
            [DIANNE.SHELTON@sakilacustomer.org] => DIANNE SHELTON
        )

    [28] => Array
        (
            [TRACEY.BARRETT@sakilacustomer.org] => TRACEY BARRETT
            [LEONA.OBRIEN@sakilacustomer.org] => LEONA OBRIEN
            [JENNY.CASTRO@sakilacustomer.org] => JENNY CASTRO
            [FELICIA.SUTTON@sakilacustomer.org] => FELICIA SUTTON
            [SONIA.GREGORY@sakilacustomer.org] => SONIA GREGORY
            [MIRIAM.MCKINNEY@sakilacustomer.org] => MIRIAM MCKINNEY
            [VELMA.LUCAS@sakilacustomer.org] => VELMA LUCAS
            [BECKY.MILES@sakilacustomer.org] => BECKY MILES
            [BOBBIE.CRAIG@sakilacustomer.org] => BOBBIE CRAIG
            [VIOLET.RODRIQUEZ@sakilacustomer.org] => VIOLET RODRIQUEZ
        )

    [29] => Array
        (
            [KRISTINA.CHAMBERS@sakilacustomer.org] => KRISTINA CHAMBERS
            [TONI.HOLT@sakilacustomer.org] => TONI HOLT
            [MISTY.LAMBERT@sakilacustomer.org] => MISTY LAMBERT
            [MAE.FLETCHER@sakilacustomer.org] => MAE FLETCHER
            [SHELLY.WATTS@sakilacustomer.org] => SHELLY WATTS
            [DAISY.BATES@sakilacustomer.org] => DAISY BATES
            [RAMONA.HALE@sakilacustomer.org] => RAMONA HALE
            [SHERRI.RHODES@sakilacustomer.org] => SHERRI RHODES
            [ERIKA.PENA@sakilacustomer.org] => ERIKA PENA
            [JAMES.GANNON@sakilacustomer.org] => JAMES GANNON
        )

    [30] => Array
        (
            [JOHN.FARNSWORTH@sakilacustomer.org] => JOHN FARNSWORTH
            [ROBERT.BAUGHMAN@sakilacustomer.org] => ROBERT BAUGHMAN
            [MICHAEL.SILVERMAN@sakilacustomer.org] => MICHAEL SILVERMAN
            [WILLIAM.SATTERFIELD@sakilacustomer.org] => WILLIAM SATTERFIELD
            [DAVID.ROYAL@sakilacustomer.org] => DAVID ROYAL
            [RICHARD.MCCRARY@sakilacustomer.org] => RICHARD MCCRARY
            [CHARLES.KOWALSKI@sakilacustomer.org] => CHARLES KOWALSKI
            [JOSEPH.JOY@sakilacustomer.org] => JOSEPH JOY
            [THOMAS.GRIGSBY@sakilacustomer.org] => THOMAS GRIGSBY
            [CHRISTOPHER.GRECO@sakilacustomer.org] => CHRISTOPHER GRECO
        )

    [31] => Array
        (
            [DANIEL.CABRAL@sakilacustomer.org] => DANIEL CABRAL
            [PAUL.TROUT@sakilacustomer.org] => PAUL TROUT
            [MARK.RINEHART@sakilacustomer.org] => MARK RINEHART
            [DONALD.MAHON@sakilacustomer.org] => DONALD MAHON
            [GEORGE.LINTON@sakilacustomer.org] => GEORGE LINTON
            [KENNETH.GOODEN@sakilacustomer.org] => KENNETH GOODEN
            [STEVEN.CURLEY@sakilacustomer.org] => STEVEN CURLEY
            [EDWARD.BAUGH@sakilacustomer.org] => EDWARD BAUGH
            [BRIAN.WYMAN@sakilacustomer.org] => BRIAN WYMAN
            [RONALD.WEINER@sakilacustomer.org] => RONALD WEINER
        )

    [32] => Array
        (
            [ANTHONY.SCHWAB@sakilacustomer.org] => ANTHONY SCHWAB
            [KEVIN.SCHULER@sakilacustomer.org] => KEVIN SCHULER
            [JASON.MORRISSEY@sakilacustomer.org] => JASON MORRISSEY
            [MATTHEW.MAHAN@sakilacustomer.org] => MATTHEW MAHAN
            [GARY.COY@sakilacustomer.org] => GARY COY
            [TIMOTHY.BUNN@sakilacustomer.org] => TIMOTHY BUNN
            [JOSE.ANDREW@sakilacustomer.org] => JOSE ANDREW
            [LARRY.THRASHER@sakilacustomer.org] => LARRY THRASHER
            [JEFFREY.SPEAR@sakilacustomer.org] => JEFFREY SPEAR
            [FRANK.WAGGONER@sakilacustomer.org] => FRANK WAGGONER
        )

    [33] => Array
        (
            [SCOTT.SHELLEY@sakilacustomer.org] => SCOTT SHELLEY
            [ERIC.ROBERT@sakilacustomer.org] => ERIC ROBERT
            [STEPHEN.QUALLS@sakilacustomer.org] => STEPHEN QUALLS
            [ANDREW.PURDY@sakilacustomer.org] => ANDREW PURDY
            [RAYMOND.MCWHORTER@sakilacustomer.org] => RAYMOND MCWHORTER
            [GREGORY.MAULDIN@sakilacustomer.org] => GREGORY MAULDIN
            [JOSHUA.MARK@sakilacustomer.org] => JOSHUA MARK
            [JERRY.JORDON@sakilacustomer.org] => JERRY JORDON
            [DENNIS.GILMAN@sakilacustomer.org] => DENNIS GILMAN
            [WALTER.PERRYMAN@sakilacustomer.org] => WALTER PERRYMAN
        )

    [34] => Array
        (
            [PATRICK.NEWSOM@sakilacustomer.org] => PATRICK NEWSOM
            [PETER.MENARD@sakilacustomer.org] => PETER MENARD
            [HAROLD.MARTINO@sakilacustomer.org] => HAROLD MARTINO
            [DOUGLAS.GRAF@sakilacustomer.org] => DOUGLAS GRAF
            [HENRY.BILLINGSLEY@sakilacustomer.org] => HENRY BILLINGSLEY
            [CARL.ARTIS@sakilacustomer.org] => CARL ARTIS
            [ARTHUR.SIMPKINS@sakilacustomer.org] => ARTHUR SIMPKINS
            [RYAN.SALISBURY@sakilacustomer.org] => RYAN SALISBURY
            [ROGER.QUINTANILLA@sakilacustomer.org] => ROGER QUINTANILLA
            [JOE.GILLILAND@sakilacustomer.org] => JOE GILLILAND
        )

    [35] => Array
        (
            [JUAN.FRALEY@sakilacustomer.org] => JUAN FRALEY
            [JACK.FOUST@sakilacustomer.org] => JACK FOUST
            [ALBERT.CROUSE@sakilacustomer.org] => ALBERT CROUSE
            [JONATHAN.SCARBOROUGH@sakilacustomer.org] => JONATHAN SCARBOROUGH
            [JUSTIN.NGO@sakilacustomer.org] => JUSTIN NGO
            [TERRY.GRISSOM@sakilacustomer.org] => TERRY GRISSOM
            [GERALD.FULTZ@sakilacustomer.org] => GERALD FULTZ
            [KEITH.RICO@sakilacustomer.org] => KEITH RICO
            [SAMUEL.MARLOW@sakilacustomer.org] => SAMUEL MARLOW
            [WILLIE.MARKHAM@sakilacustomer.org] => WILLIE MARKHAM
        )

    [36] => Array
        (
            [RALPH.MADRIGAL@sakilacustomer.org] => RALPH MADRIGAL
            [LAWRENCE.LAWTON@sakilacustomer.org] => LAWRENCE LAWTON
            [NICHOLAS.BARFIELD@sakilacustomer.org] => NICHOLAS BARFIELD
            [ROY.WHITING@sakilacustomer.org] => ROY WHITING
            [BENJAMIN.VARNEY@sakilacustomer.org] => BENJAMIN VARNEY
            [BRUCE.SCHWARZ@sakilacustomer.org] => BRUCE SCHWARZ
            [BRANDON.HUEY@sakilacustomer.org] => BRANDON HUEY
            [ADAM.GOOCH@sakilacustomer.org] => ADAM GOOCH
            [HARRY.ARCE@sakilacustomer.org] => HARRY ARCE
            [FRED.WHEAT@sakilacustomer.org] => FRED WHEAT
        )

    [37] => Array
        (
            [WAYNE.TRUONG@sakilacustomer.org] => WAYNE TRUONG
            [BILLY.POULIN@sakilacustomer.org] => BILLY POULIN
            [STEVE.MACKENZIE@sakilacustomer.org] => STEVE MACKENZIE
            [LOUIS.LEONE@sakilacustomer.org] => LOUIS LEONE
            [JEREMY.HURTADO@sakilacustomer.org] => JEREMY HURTADO
            [AARON.SELBY@sakilacustomer.org] => AARON SELBY
            [RANDY.GAITHER@sakilacustomer.org] => RANDY GAITHER
            [HOWARD.FORTNER@sakilacustomer.org] => HOWARD FORTNER
            [EUGENE.CULPEPPER@sakilacustomer.org] => EUGENE CULPEPPER
            [CARLOS.COUGHLIN@sakilacustomer.org] => CARLOS COUGHLIN
        )

    [38] => Array
        (
            [RUSSELL.BRINSON@sakilacustomer.org] => RUSSELL BRINSON
            [BOBBY.BOUDREAU@sakilacustomer.org] => BOBBY BOUDREAU
            [VICTOR.BARKLEY@sakilacustomer.org] => VICTOR BARKLEY
            [MARTIN.BALES@sakilacustomer.org] => MARTIN BALES
            [ERNEST.STEPP@sakilacustomer.org] => ERNEST STEPP
            [PHILLIP.HOLM@sakilacustomer.org] => PHILLIP HOLM
            [TODD.TAN@sakilacustomer.org] => TODD TAN
            [JESSE.SCHILLING@sakilacustomer.org] => JESSE SCHILLING
            [CRAIG.MORRELL@sakilacustomer.org] => CRAIG MORRELL
            [ALAN.KAHN@sakilacustomer.org] => ALAN KAHN
        )

    [39] => Array
        (
            [SHAWN.HEATON@sakilacustomer.org] => SHAWN HEATON
            [CLARENCE.GAMEZ@sakilacustomer.org] => CLARENCE GAMEZ
            [SEAN.DOUGLASS@sakilacustomer.org] => SEAN DOUGLASS
            [PHILIP.CAUSEY@sakilacustomer.org] => PHILIP CAUSEY
            [CHRIS.BROTHERS@sakilacustomer.org] => CHRIS BROTHERS
            [JOHNNY.TURPIN@sakilacustomer.org] => JOHNNY TURPIN
            [EARL.SHANKS@sakilacustomer.org] => EARL SHANKS
            [JIMMY.SCHRADER@sakilacustomer.org] => JIMMY SCHRADER
            [ANTONIO.MEEK@sakilacustomer.org] => ANTONIO MEEK
            [DANNY.ISOM@sakilacustomer.org] => DANNY ISOM
        )

    [40] => Array
        (
            [BRYAN.HARDISON@sakilacustomer.org] => BRYAN HARDISON
            [TONY.CARRANZA@sakilacustomer.org] => TONY CARRANZA
            [LUIS.YANEZ@sakilacustomer.org] => LUIS YANEZ
            [MIKE.WAY@sakilacustomer.org] => MIKE WAY
            [STANLEY.SCROGGINS@sakilacustomer.org] => STANLEY SCROGGINS
            [LEONARD.SCHOFIELD@sakilacustomer.org] => LEONARD SCHOFIELD
            [NATHAN.RUNYON@sakilacustomer.org] => NATHAN RUNYON
            [DALE.RATCLIFF@sakilacustomer.org] => DALE RATCLIFF
            [MANUEL.MURRELL@sakilacustomer.org] => MANUEL MURRELL
            [RODNEY.MOELLER@sakilacustomer.org] => RODNEY MOELLER
        )

    [41] => Array
        (
            [CURTIS.IRBY@sakilacustomer.org] => CURTIS IRBY
            [NORMAN.CURRIER@sakilacustomer.org] => NORMAN CURRIER
            [ALLEN.BUTTERFIELD@sakilacustomer.org] => ALLEN BUTTERFIELD
            [MARVIN.YEE@sakilacustomer.org] => MARVIN YEE
            [VINCENT.RALSTON@sakilacustomer.org] => VINCENT RALSTON
            [GLENN.PULLEN@sakilacustomer.org] => GLENN PULLEN
            [JEFFERY.PINSON@sakilacustomer.org] => JEFFERY PINSON
            [TRAVIS.ESTEP@sakilacustomer.org] => TRAVIS ESTEP
            [JEFF.EAST@sakilacustomer.org] => JEFF EAST
            [CHAD.CARBONE@sakilacustomer.org] => CHAD CARBONE
        )

    [42] => Array
        (
            [JACOB.LANCE@sakilacustomer.org] => JACOB LANCE
            [LEE.HAWKS@sakilacustomer.org] => LEE HAWKS
            [MELVIN.ELLINGTON@sakilacustomer.org] => MELVIN ELLINGTON
            [ALFRED.CASILLAS@sakilacustomer.org] => ALFRED CASILLAS
            [KYLE.SPURLOCK@sakilacustomer.org] => KYLE SPURLOCK
            [FRANCIS.SIKES@sakilacustomer.org] => FRANCIS SIKES
            [BRADLEY.MOTLEY@sakilacustomer.org] => BRADLEY MOTLEY
            [JESUS.MCCARTNEY@sakilacustomer.org] => JESUS MCCARTNEY
            [HERBERT.KRUGER@sakilacustomer.org] => HERBERT KRUGER
            [FREDERICK.ISBELL@sakilacustomer.org] => FREDERICK ISBELL
        )

    [43] => Array
        (
            [RAY.HOULE@sakilacustomer.org] => RAY HOULE
            [JOEL.FRANCISCO@sakilacustomer.org] => JOEL FRANCISCO
            [EDWIN.BURK@sakilacustomer.org] => EDWIN BURK
            [DON.BONE@sakilacustomer.org] => DON BONE
            [EDDIE.TOMLIN@sakilacustomer.org] => EDDIE TOMLIN
            [RICKY.SHELBY@sakilacustomer.org] => RICKY SHELBY
            [TROY.QUIGLEY@sakilacustomer.org] => TROY QUIGLEY
            [RANDALL.NEUMANN@sakilacustomer.org] => RANDALL NEUMANN
            [BARRY.LOVELACE@sakilacustomer.org] => BARRY LOVELACE
            [ALEXANDER.FENNELL@sakilacustomer.org] => ALEXANDER FENNELL
        )

    [44] => Array
        (
            [BERNARD.COLBY@sakilacustomer.org] => BERNARD COLBY
            [MARIO.CHEATHAM@sakilacustomer.org] => MARIO CHEATHAM
            [LEROY.BUSTAMANTE@sakilacustomer.org] => LEROY BUSTAMANTE
            [FRANCISCO.SKIDMORE@sakilacustomer.org] => FRANCISCO SKIDMORE
            [MARCUS.HIDALGO@sakilacustomer.org] => MARCUS HIDALGO
            [MICHEAL.FORMAN@sakilacustomer.org] => MICHEAL FORMAN
            [THEODORE.CULP@sakilacustomer.org] => THEODORE CULP
            [CLIFFORD.BOWENS@sakilacustomer.org] => CLIFFORD BOWENS
            [MIGUEL.BETANCOURT@sakilacustomer.org] => MIGUEL BETANCOURT
            [OSCAR.AQUINO@sakilacustomer.org] => OSCAR AQUINO
        )

    [45] => Array
        (
            [JAY.ROBB@sakilacustomer.org] => JAY ROBB
            [JIM.REA@sakilacustomer.org] => JIM REA
            [TOM.MILNER@sakilacustomer.org] => TOM MILNER
            [CALVIN.MARTEL@sakilacustomer.org] => CALVIN MARTEL
            [ALEX.GRESHAM@sakilacustomer.org] => ALEX GRESHAM
            [JON.WILES@sakilacustomer.org] => JON WILES
            [RONNIE.RICKETTS@sakilacustomer.org] => RONNIE RICKETTS
            [BILL.GAVIN@sakilacustomer.org] => BILL GAVIN
            [LLOYD.DOWD@sakilacustomer.org] => LLOYD DOWD
            [TOMMY.COLLAZO@sakilacustomer.org] => TOMMY COLLAZO
        )

    [46] => Array
        (
            [LEON.BOSTIC@sakilacustomer.org] => LEON BOSTIC
            [DEREK.BLAKELY@sakilacustomer.org] => DEREK BLAKELY
            [WARREN.SHERROD@sakilacustomer.org] => WARREN SHERROD
            [DARRELL.POWER@sakilacustomer.org] => DARRELL POWER
            [JEROME.KENYON@sakilacustomer.org] => JEROME KENYON
            [FLOYD.GANDY@sakilacustomer.org] => FLOYD GANDY
            [LEO.EBERT@sakilacustomer.org] => LEO EBERT
            [ALVIN.DELOACH@sakilacustomer.org] => ALVIN DELOACH
            [TIM.CARY@sakilacustomer.org] => TIM CARY
            [WESLEY.BULL@sakilacustomer.org] => WESLEY BULL
        )

    [47] => Array
        (
            [GORDON.ALLARD@sakilacustomer.org] => GORDON ALLARD
            [DEAN.SAUER@sakilacustomer.org] => DEAN SAUER
            [GREG.ROBINS@sakilacustomer.org] => GREG ROBINS
            [JORGE.OLIVARES@sakilacustomer.org] => JORGE OLIVARES
            [DUSTIN.GILLETTE@sakilacustomer.org] => DUSTIN GILLETTE
            [PEDRO.CHESTNUT@sakilacustomer.org] => PEDRO CHESTNUT
            [DERRICK.BOURQUE@sakilacustomer.org] => DERRICK BOURQUE
            [DAN.PAINE@sakilacustomer.org] => DAN PAINE
            [LEWIS.LYMAN@sakilacustomer.org] => LEWIS LYMAN
            [ZACHARY.HITE@sakilacustomer.org] => ZACHARY HITE
        )

    [48] => Array
        (
            [COREY.HAUSER@sakilacustomer.org] => COREY HAUSER
            [HERMAN.DEVORE@sakilacustomer.org] => HERMAN DEVORE
            [MAURICE.CRAWLEY@sakilacustomer.org] => MAURICE CRAWLEY
            [VERNON.CHAPA@sakilacustomer.org] => VERNON CHAPA
            [ROBERTO.VU@sakilacustomer.org] => ROBERTO VU
            [CLYDE.TOBIAS@sakilacustomer.org] => CLYDE TOBIAS
            [GLEN.TALBERT@sakilacustomer.org] => GLEN TALBERT
            [HECTOR.POINDEXTER@sakilacustomer.org] => HECTOR POINDEXTER
            [SHANE.MILLARD@sakilacustomer.org] => SHANE MILLARD
            [RICARDO.MEADOR@sakilacustomer.org] => RICARDO MEADOR
        )

    [49] => Array
        (
            [SAM.MCDUFFIE@sakilacustomer.org] => SAM MCDUFFIE
            [RICK.MATTOX@sakilacustomer.org] => RICK MATTOX
            [LESTER.KRAUS@sakilacustomer.org] => LESTER KRAUS
            [BRENT.HARKINS@sakilacustomer.org] => BRENT HARKINS
            [RAMON.CHOATE@sakilacustomer.org] => RAMON CHOATE
            [CHARLIE.BESS@sakilacustomer.org] => CHARLIE BESS
            [TYLER.WREN@sakilacustomer.org] => TYLER WREN
            [GILBERT.SLEDGE@sakilacustomer.org] => GILBERT SLEDGE
            [GENE.SANBORN@sakilacustomer.org] => GENE SANBORN
            [MARC.OUTLAW@sakilacustomer.org] => MARC OUTLAW
        )

    [50] => Array
        (
            [REGINALD.KINDER@sakilacustomer.org] => REGINALD KINDER
            [RUBEN.GEARY@sakilacustomer.org] => RUBEN GEARY
            [BRETT.CORNWELL@sakilacustomer.org] => BRETT CORNWELL
            [ANGEL.BARCLAY@sakilacustomer.org] => ANGEL BARCLAY
            [NATHANIEL.ADAM@sakilacustomer.org] => NATHANIEL ADAM
            [RAFAEL.ABNEY@sakilacustomer.org] => RAFAEL ABNEY
            [LESLIE.SEWARD@sakilacustomer.org] => LESLIE SEWARD
            [EDGAR.RHOADS@sakilacustomer.org] => EDGAR RHOADS
            [MILTON.HOWLAND@sakilacustomer.org] => MILTON HOWLAND
            [RAUL.FORTIER@sakilacustomer.org] => RAUL FORTIER
        )

    [51] => Array
        (
            [BEN.EASTER@sakilacustomer.org] => BEN EASTER
            [CHESTER.BENNER@sakilacustomer.org] => CHESTER BENNER
            [CECIL.VINES@sakilacustomer.org] => CECIL VINES
            [DUANE.TUBBS@sakilacustomer.org] => DUANE TUBBS
            [FRANKLIN.TROUTMAN@sakilacustomer.org] => FRANKLIN TROUTMAN
            [ANDRE.RAPP@sakilacustomer.org] => ANDRE RAPP
            [ELMER.NOE@sakilacustomer.org] => ELMER NOE
            [BRAD.MCCURDY@sakilacustomer.org] => BRAD MCCURDY
            [GABRIEL.HARDER@sakilacustomer.org] => GABRIEL HARDER
            [RON.DELUCA@sakilacustomer.org] => RON DELUCA
        )

    [52] => Array
        (
            [MITCHELL.WESTMORELAND@sakilacustomer.org] => MITCHELL WESTMORELAND
            [ROLAND.SOUTH@sakilacustomer.org] => ROLAND SOUTH
            [ARNOLD.HAVENS@sakilacustomer.org] => ARNOLD HAVENS
            [HARVEY.GUAJARDO@sakilacustomer.org] => HARVEY GUAJARDO
            [JARED.ELY@sakilacustomer.org] => JARED ELY
            [ADRIAN.CLARY@sakilacustomer.org] => ADRIAN CLARY
            [KARL.SEAL@sakilacustomer.org] => KARL SEAL
            [CORY.MEEHAN@sakilacustomer.org] => CORY MEEHAN
            [CLAUDE.HERZOG@sakilacustomer.org] => CLAUDE HERZOG
            [ERIK.GUILLEN@sakilacustomer.org] => ERIK GUILLEN
        )

    [53] => Array
        (
            [DARRYL.ASHCRAFT@sakilacustomer.org] => DARRYL ASHCRAFT
            [JAMIE.WAUGH@sakilacustomer.org] => JAMIE WAUGH
            [NEIL.RENNER@sakilacustomer.org] => NEIL RENNER
            [JESSIE.MILAM@sakilacustomer.org] => JESSIE MILAM
            [CHRISTIAN.JUNG@sakilacustomer.org] => CHRISTIAN JUNG
            [JAVIER.ELROD@sakilacustomer.org] => JAVIER ELROD
            [FERNANDO.CHURCHILL@sakilacustomer.org] => FERNANDO CHURCHILL
            [CLINTON.BUFORD@sakilacustomer.org] => CLINTON BUFORD
            [TED.BREAUX@sakilacustomer.org] => TED BREAUX
            [MATHEW.BOLIN@sakilacustomer.org] => MATHEW BOLIN
        )

    [54] => Array
        (
            [TYRONE.ASHER@sakilacustomer.org] => TYRONE ASHER
            [DARREN.WINDHAM@sakilacustomer.org] => DARREN WINDHAM
            [LONNIE.TIRADO@sakilacustomer.org] => LONNIE TIRADO
            [LANCE.PEMBERTON@sakilacustomer.org] => LANCE PEMBERTON
            [CODY.NOLEN@sakilacustomer.org] => CODY NOLEN
            [JULIO.NOLAND@sakilacustomer.org] => JULIO NOLAND
            [KELLY.KNOTT@sakilacustomer.org] => KELLY KNOTT
            [KURT.EMMONS@sakilacustomer.org] => KURT EMMONS
            [ALLAN.CORNISH@sakilacustomer.org] => ALLAN CORNISH
            [NELSON.CHRISTENSON@sakilacustomer.org] => NELSON CHRISTENSON
        )

    [55] => Array
        (
            [GUY.BROWNLEE@sakilacustomer.org] => GUY BROWNLEE
            [CLAYTON.BARBEE@sakilacustomer.org] => CLAYTON BARBEE
            [HUGH.WALDROP@sakilacustomer.org] => HUGH WALDROP
            [MAX.PITT@sakilacustomer.org] => MAX PITT
            [DWAYNE.OLVERA@sakilacustomer.org] => DWAYNE OLVERA
            [DWIGHT.LOMBARDI@sakilacustomer.org] => DWIGHT LOMBARDI
            [ARMANDO.GRUBER@sakilacustomer.org] => ARMANDO GRUBER
            [FELIX.GAFFNEY@sakilacustomer.org] => FELIX GAFFNEY
            [JIMMIE.EGGLESTON@sakilacustomer.org] => JIMMIE EGGLESTON
            [EVERETT.BANDA@sakilacustomer.org] => EVERETT BANDA
        )

    [56] => Array
        (
            [JORDAN.ARCHULETA@sakilacustomer.org] => JORDAN ARCHULETA
            [IAN.STILL@sakilacustomer.org] => IAN STILL
            [WALLACE.SLONE@sakilacustomer.org] => WALLACE SLONE
            [KEN.PREWITT@sakilacustomer.org] => KEN PREWITT
            [BOB.PFEIFFER@sakilacustomer.org] => BOB PFEIFFER
            [JAIME.NETTLES@sakilacustomer.org] => JAIME NETTLES
            [CASEY.MENA@sakilacustomer.org] => CASEY MENA
            [ALFREDO.MCADAMS@sakilacustomer.org] => ALFREDO MCADAMS
            [ALBERTO.HENNING@sakilacustomer.org] => ALBERTO HENNING
            [DAVE.GARDINER@sakilacustomer.org] => DAVE GARDINER
        )

    [57] => Array
        (
            [IVAN.CROMWELL@sakilacustomer.org] => IVAN CROMWELL
            [JOHNNIE.CHISHOLM@sakilacustomer.org] => JOHNNIE CHISHOLM
            [SIDNEY.BURLESON@sakilacustomer.org] => SIDNEY BURLESON
            [BYRON.BOX@sakilacustomer.org] => BYRON BOX
            [JULIAN.VEST@sakilacustomer.org] => JULIAN VEST
            [ISAAC.OGLESBY@sakilacustomer.org] => ISAAC OGLESBY
            [MORRIS.MCCARTER@sakilacustomer.org] => MORRIS MCCARTER
            [CLIFTON.MALCOLM@sakilacustomer.org] => CLIFTON MALCOLM
            [WILLARD.LUMPKIN@sakilacustomer.org] => WILLARD LUMPKIN
            [DARYL.LARUE@sakilacustomer.org] => DARYL LARUE
        )

    [58] => Array
        (
            [ROSS.GREY@sakilacustomer.org] => ROSS GREY
            [VIRGIL.WOFFORD@sakilacustomer.org] => VIRGIL WOFFORD
            [ANDY.VANHORN@sakilacustomer.org] => ANDY VANHORN
            [MARSHALL.THORN@sakilacustomer.org] => MARSHALL THORN
            [SALVADOR.TEEL@sakilacustomer.org] => SALVADOR TEEL
            [PERRY.SWAFFORD@sakilacustomer.org] => PERRY SWAFFORD
            [KIRK.STCLAIR@sakilacustomer.org] => KIRK STCLAIR
            [SERGIO.STANFIELD@sakilacustomer.org] => SERGIO STANFIELD
            [MARION.OCAMPO@sakilacustomer.org] => MARION OCAMPO
            [TRACY.HERRMANN@sakilacustomer.org] => TRACY HERRMANN
        )

    [59] => Array
        (
            [SETH.HANNON@sakilacustomer.org] => SETH HANNON
            [KENT.ARSENAULT@sakilacustomer.org] => KENT ARSENAULT
            [TERRANCE.ROUSH@sakilacustomer.org] => TERRANCE ROUSH
            [RENE.MCALISTER@sakilacustomer.org] => RENE MCALISTER
            [EDUARDO.HIATT@sakilacustomer.org] => EDUARDO HIATT
            [TERRENCE.GUNDERSON@sakilacustomer.org] => TERRENCE GUNDERSON
            [ENRIQUE.FORSYTHE@sakilacustomer.org] => ENRIQUE FORSYTHE
            [FREDDIE.DUGGAN@sakilacustomer.org] => FREDDIE DUGGAN
            [WADE.DELVALLE@sakilacustomer.org] => WADE DELVALLE
            [AUSTIN.CINTRON@sakilacustomer.org] => AUSTIN CINTRON
        )

)

sendMail.php

<?php

require_once $_SERVER['DOCUMENT_ROOT'] . '/Swift-5.0.3/lib/swift_required.php';

require_once 'e_list.php';

date_default_timezone_set('America/Toronto');

$transport = Swift_SmtpTransport::newInstance();

// Create the Mailer using your created Transport
$mailer = Swift_Mailer::newInstance($transport);

$subject = 'Some subject content';

$body = "<!DOCTYPE html>
 <html>
  <body>
  <p>Some content here.....</p>
  </body>
</html>"; // that's your html content

$message = Swift_Message::newInstance()
        ->setContentType("text/html")
        ->setMaxLineLength(100)
        ->setSubject($subject)
        ->setFrom(array("centos-box@localdomain" => "jazzman"))
        ->setBody($body);
 
// delay the time
$delay = 10000000; // 10 sec
//
// iteration 
$it = count($emails);

$time_start = microtime(true);

while ($it > 0) {

    $message->setTo($emails[$it]);

    usleep($delay);

    $mailer->send($message);
    
    $it--;
}

$time_end = microtime(true);

$time = $time_end - $time_start;

printf("Sent %d messages\n", $count_rows);

echo '<br />'; 

printf("Emails were sent in %d seconds\n", $time);

// don't forget to re-write this script to return an exit() command
// avoiding multiple boots by cron job

// file_put_contents(__FILE__, "<?php exit();");

Result:

 

 

Sent 599 messages
Emails were sent in 593 seconds

Edited by jazzman1
Link to comment
Share on other sites

  • Solution

Thanks for all the input and examples.  I have implemented a db que system to gather the list of people to email.  Then another script that sends the emails in chunks of 20 per day, which is all I really need after narrowing down how and what I am actually trying to achieve.  

 

Thanks again, JD

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.