maj script cron paheko
This commit is contained in:
@ -7,7 +7,8 @@ FACTORY_USER_DIRECTORY="users"
|
||||
# Chemin vers le script cron.php de Paheko
|
||||
PAHEKO_CRON_SCRIPT="scripts/cron.php"
|
||||
|
||||
cd /usr/share/paheko
|
||||
#cd /usr/share/paheko
|
||||
cd /var/www/paheko
|
||||
|
||||
for user in $(cd ${FACTORY_USER_DIRECTORY} && ls -1d */)
|
||||
do
|
||||
|
@ -7,6 +7,9 @@ FACTORY_USER_DIRECTORY="users"
|
||||
# Chemin vers le script emails.php de Paheko
|
||||
PAHEKO_CRON_SCRIPT="scripts/emails.php"
|
||||
|
||||
#cd /usr/share/paheko
|
||||
cd /var/www/paheko
|
||||
|
||||
for user in $(cd ${FACTORY_USER_DIRECTORY} && ls -1d */)
|
||||
do
|
||||
PAHEKO_FACTORY_USER=$(basename "$user") /usr/bin/php $PAHEKO_CRON_SCRIPT
|
||||
|
Reference in New Issue
Block a user