sendMailCron : Allow to send token email (invite or reminder) via PHP cli .

Plus d'informations
il y a 3 ans 4 mois - il y a 2 ans 9 mois #135575 par DenisChenu
This plugin allow you to send email by a script in crontab or scheduled event.



Usage
php yourlimesurveydir/application/commands/console.php plugin cron --interval=1400
Plugin don't use interval : try to send email according to settings each time.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .
Dernière édition: il y a 2 ans 9 mois par DenisChenu.

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 2 ans 9 mois #145243 par DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 ans 9 mois - il y a 2 ans 9 mois #145924 par DenisChenu
Before activating the plugin

LimeSurvey plugin cron system before this fix was broken.

Then before activating the plugin, test the LimeSurvey system with
 php application/commands/console.php plugin cron --interval=1

If you receive :
exception 'CException' with message 'Application runtime path "/home/web/htdocs/limesurvey/application/runtime" is not valid. Please make sure it is a directory writable by the Web server process.' in /home/web/htdocs/limesurvey/framework/base/CApplication.php:294
or something similar : create manually the application/runtime directory.

source

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .
Dernière édition: il y a 2 ans 9 mois par DenisChenu.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 ans 3 mois #155601 par madscience
Hi Denis,

Im am currently trying to set up the sendmailcron pluging in my limesurvey 2.65.2+170606 release. I already moved the pluginin the plugins directory and activated it.

What I can not figure out is, what is ment with:

Then before activating the plugin, test the LimeSurvey system with
php application/commands/console.php plugin cron --interval=1


Can you give me a hint how to do this?

Should I add the line plugin cron --interval=1 in the config.php?

Thanks and Regards madscience.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 ans 3 mois #155659 par DenisChenu
You need a command/shell access at the server. If you don't have one : you can not tes the plugin. But if you have a cron access : you must have a shell access on the server. Then you can launch
php application/commands/console.php plugin cron --interval=1
In a console , a shell. SSH access with a linux server for example.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 4 jours #187793 par rouuuge
hi,

I got following error if i try to execute the script:
exception 'CDbException' with message 'CDbConnection failed to open the DB connection.' in /httpdocs/framework/db/CDbConnection.php:388
Stack trace:
#0 /httpdocs/framework/db/CDbConnection.php(330): CDbConnection->open()
#1 /httpdocs/framework/db/CDbConnection.php(308): CDbConnection->setActive(true)
#2 /httpdocs/framework/base/CModule.php(387): CDbConnection->init()
#3 /httpdocs/framework/base/CApplication.php(457): CModule->getComponent('db')
#4 /httpdocs/framework/db/ar/CActiveRecord.php(634): CApplication->getDb()
#5 /httpdocs/framework/db/ar/CActiveRecord.php(1428): CActiveRecord->getDbConnection()
#6 /httpdocs/framework/db/ar/CActiveRecord.php(1534): CActiveRecord->getTableAlias(true)
#7 /httpdocs/application/libraries/PluginManager/PluginManager.php(323): CActiveRecord->findAllByAttributes(Array)
#8 /httpdocs/application/libraries/PluginManager/PluginManager.php(43): ls\pluginmanager\PluginManager->loadPlugins()
#9 /httpdocs/framework/base/CModule.php(387): ls\pluginmanager\PluginManager->init()
#10 /httpdocs/framework/base/CModule.php(103): CModule->getComponent('pluginManager')
#11 /httpdocs/application/commands/PluginCommand.php(21): CModule->__get('pluginManager')
#12 [internal function]: PluginCommand->actionCron('1')
#13 /httpdocs/framework/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs(Object(PluginCommand), Array)
#14 /httpdocs/framework/console/CConsoleCommandRunner.php(71): CConsoleCommand->run(Array)
#15 /httpdocs/framework/console/CConsoleApplication.php(92): CConsoleCommandRunner->run(Array)
#16 /httpdocs/framework/base/CApplication.php(184): CConsoleApplication->processRequest()
#17 /httpdocs/application/commands/console.php(55): CApplication->run()
 

can you tell me what's wrong?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 3 jours #187829 par DenisChenu
Didn't know, and don't seem to be related to SendMailCron because it's not called here.

Then : you must fix your LimeSurvey issue before.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!