[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [ocs-webserver/dev] application/modules/backend/controllers: cli letter avatar
From: siyuan dong <null () kde ! org>
Date: 2018-09-19 11:21:30
Message-ID: E1g2aXy-0007vj-3H () code ! kde ! org
[Download RAW message or body]
Git commit 8efcc5b6fd55da86e63843858a43a9b626d90715 by siyuan dong.
Committed on 19/09/2018 at 11:21.
Pushed by siyuandong into branch 'dev'.
cli letter avatar
M +8 -3 application/modules/backend/controllers/MemberLetterAvatarCl=
iController.php
https://commits.kde.org/ocs-webserver/8efcc5b6fd55da86e63843858a43a9b626d90=
715
diff --git a/application/modules/backend/controllers/MemberLetterAvatarCliC=
ontroller.php b/application/modules/backend/controllers/MemberLetterAvatarC=
liController.php
index 0f69f6d2..d4ca0204 100755
--- a/application/modules/backend/controllers/MemberLetterAvatarCliControll=
er.php
+++ b/application/modules/backend/controllers/MemberLetterAvatarCliControll=
er.php
@@ -19,6 +19,9 @@
*
* You should have received a copy of the GNU Affero General Public Lic=
ense
* along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * https://github.com/yohang88/letter-avatar
+ * =
* */
=
use YoHang88\LetterAvatar\LetterAvatar; =
@@ -26,10 +29,12 @@ class Backend_MemberLetterAvatarCliController extends L=
ocal_Controller_Action_Cl
{
=
/**
- * Run php code as cronjob.
+ * run the following composer to download libs put in /library/ =
+ * composer require yohang88/letter-avatar
+ * Run php code
* I.e.:
- * /usr/bin/php /var/www/pling.it/pling/scripts/cron.php -a /backend/m=
ember-payout-cli/run/action/payout/context/all >> /var/www/ocs-www/logs/mas=
spay.log $
- *
+ * /usr/bin/php /var/www/ocs-webserver/scripts/cron.php -a /backend/me=
mber-letter-avatar-cli/run/action
+ * ubuntu@ip-10-171-104-73:/var/www/pling.it/pling$ sudo -u www-data p=
hp /var/www/pling.it/pling/scripts/cron.php -a /backend/member-letter-avata=
r-cli/run/action =
* @see Local_Controller_Action_CliInterface::runAction()
*/
public function runAction()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic