uma mensagem ficou com o envio pelo meio do caminho

A queixa de que o envio ficou pela metade no PHPList recem instalado, tem uma explicação muito simples… O envio estava sendo feito com o

Fila de Processamento

Note que, na tela de Processamento, aparece um alerta pedindo para manter a tela aberta enquanto a fila não terminar. A saindo da tela, o envio pára. Aparentemente, foi isso que aconteceu no caso relatado.

Para evitar o transtorno de manter a tela do processamento da fila, veja mais sobre os processos agendados.

A criação de um pequeno script facilita o processamento da fila agendada com o cron.


#!/bin/bash

# script to run PHPlist from commandline. You may need to edit this to make it work
# with your shell environment. The following should work for Bash on Fedora Linux
# but this may vary strongly in other situations. You will need to dig into the
# code to make sure it works for you.

# in commandline mode, access is restricted to users who are listed in the config file
# check README.commandline for more info

# identify the config file for your installation
CONFIG=/home/public_html/lists/config/config.php
export CONFIG

USER=admin
export USER

# alternatively you can use -c on the commandline

# run the PHPlist index file with all parameters passed to this script
/usr/local/apache/php/bin/php -q /home/public_html/lists/admin/index.php $*


 

 


Comments

Deixe um comentário

Esse site utiliza o Akismet para reduzir spam. Aprenda como seus dados de comentários são processados.