Add cron jobs for KanBoard, SeedDMS, Ushahidi
This commit is contained in:
parent
79efa46226
commit
7e3431a4c0
@ -36,5 +36,3 @@ service kanboard-postgres stop
|
|||||||
|
|
||||||
# Register application
|
# Register application
|
||||||
vmmgr register-app kanboard kb "${KANBOARD_ADMIN_USER}" "${KANBOARD_ADMIN_PWD}"
|
vmmgr register-app kanboard kb "${KANBOARD_ADMIN_USER}" "${KANBOARD_ADMIN_PWD}"
|
||||||
|
|
||||||
# TODO: cron
|
|
||||||
|
1
lxc-apps/kanboard/lxc/etc/crontab/kanboard
Normal file
1
lxc-apps/kanboard/lxc/etc/crontab/kanboard
Normal file
@ -0,0 +1 @@
|
|||||||
|
0 * * * * /srv/kanboard/cli cronjob >/dev/null
|
4
lxc-apps/kanboard/lxc/etc/services.d/cron/run
Normal file
4
lxc-apps/kanboard/lxc/etc/services.d/cron/run
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/execlineb -P
|
||||||
|
|
||||||
|
fdmove -c 2 1
|
||||||
|
crond -f -d 8
|
@ -43,5 +43,3 @@ service seeddms-postgres stop
|
|||||||
|
|
||||||
# Register application
|
# Register application
|
||||||
vmmgr register-app seeddms dms "${SEEDDMS_ADMIN_USER}" "${SEEDDMS_ADMIN_PWD}"
|
vmmgr register-app seeddms dms "${SEEDDMS_ADMIN_USER}" "${SEEDDMS_ADMIN_PWD}"
|
||||||
|
|
||||||
# TODO: cron
|
|
||||||
|
1
lxc-apps/seeddms/lxc/etc/crontab/seeddms
Normal file
1
lxc-apps/seeddms/lxc/etc/crontab/seeddms
Normal file
@ -0,0 +1 @@
|
|||||||
|
*/10 * * * * /srv/seeddms/seeddms/utils/seeddms-indexer >/dev/null
|
4
lxc-apps/seeddms/lxc/etc/services.d/cron/run
Normal file
4
lxc-apps/seeddms/lxc/etc/services.d/cron/run
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/execlineb -P
|
||||||
|
|
||||||
|
fdmove -c 2 1
|
||||||
|
crond -f -d 8
|
@ -39,5 +39,3 @@ service ushahidi-mariadb stop
|
|||||||
|
|
||||||
# Register application
|
# Register application
|
||||||
vmmgr register-app ushahidi ush "${USHAHIDI_ADMIN_USER}" "${USHAHIDI_ADMIN_PWD}"
|
vmmgr register-app ushahidi ush "${USHAHIDI_ADMIN_USER}" "${USHAHIDI_ADMIN_PWD}"
|
||||||
|
|
||||||
# TODO: cron
|
|
||||||
|
5
lxc-apps/ushahidi/lxc/etc/crontab/ushahidi
Normal file
5
lxc-apps/ushahidi/lxc/etc/crontab/ushahidi
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
*/10 * * * * cd /srv/ushahidi/platform; bin/ushahidi dataprovider outgoing >/dev/null
|
||||||
|
*/10 * * * * cd /srv/ushahidi/platform; bin/ushahidi dataprovider incoming >/dev/null
|
||||||
|
*/10 * * * * cd /srv/ushahidi/platform; bin/ushahidi savedsearch >/dev/null
|
||||||
|
*/10 * * * * cd /srv/ushahidi/platform; bin/ushahidi notification queue >/dev/null
|
||||||
|
*/10 * * * * cd /srv/ushahidi/platform; bin/ushahidi webhook send >/dev/null
|
4
lxc-apps/ushahidi/lxc/etc/services.d/cron/run
Normal file
4
lxc-apps/ushahidi/lxc/etc/services.d/cron/run
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/execlineb -P
|
||||||
|
|
||||||
|
fdmove -c 2 1
|
||||||
|
crond -f -d 8
|
Loading…
Reference in New Issue
Block a user