[wgo-web] Land the script OSCP will run as a cron job for civicrm queue processing
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wgo-web] Land the script OSCP will run as a cron job for civicrm queue processing
- Date: Wed, 19 Jun 2019 13:12:10 +0000 (UTC)
commit 48a3a43f6a6850e488274d1c51bfb99b2aa4aeb1
Author: Andrea Veri <averi redhat com>
Date: Wed Jun 19 15:11:42 2019 +0200
Land the script OSCP will run as a cron job for civicrm queue processing
Dockerfile | 1 +
civicrm-cron.sh | 3 +++
2 files changed, 4 insertions(+)
---
diff --git a/Dockerfile b/Dockerfile
index 7ef00db..6268bba 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,6 +8,7 @@ RUN rpm -Uvh --nodeps $(repoquery --location mod_geoip) && \
cp /usr/lib64/httpd/modules/mod_geoip.so /etc/httpd/modules
COPY git-pull.sh /usr/local/bin/git-pull.sh
+COPY civicrm-cron.sh /usr/local/bin/civicrm-cron.sh
RUN mkdir -p /srv/http/www.gnome.org
COPY 00_www.gnome.org.conf /etc/httpd/conf.d
diff --git a/civicrm-cron.sh b/civicrm-cron.sh
new file mode 100755
index 0000000..1e5f72f
--- /dev/null
+++ b/civicrm-cron.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+scl enable rh-php71 php /srv/http/www.gnome.org/html/wp-content/plugins/civicrm/civicrm/bin/cli.php -s
www.gnome.org -u civicrmcron -p "${CIVICRM_USER_PASSWORD}" -e Job -a execute
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]