I have a batch mailing script. Right now the browser must stay open so that it can refresh and send the next batch. I would really like to be able to loop through the batches without the browser.
I have tried
ignore_user_abort(TRUE);
set_time_limit(0);
but that doesn't work with my refresh (META). I've tried sleep();, but that doesn't work, as it just pauses the script at the beginning.
I would like to try cron, but I can't rely on the customer having access to it and then making them set it up and pointing it to the script. I've asked over and over about setting a crontab via php, but haven't received any answers.
Is there a solution?