I am trying to build a mailer. Everything works just fine, but it's too slow.
Here is the code for the bash file
#!/bin/bash
FILE=$(cat $1)
for i in $FILE
do
php send.php $i
done
My question is how can I make it work faster because it runs very slowly. I have already tried changing the sleep but no success.
How could i do it run like: select 10 lines and do php send.php $i1 php send.php $i2 etc