Add cron jobs for KanBoard, SeedDMS, Ushahidi

This commit is contained in:
Disassembler 2019-10-07 09:48:37 +02:00
parent 79efa46226
commit 7e3431a4c0
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
9 changed files with 19 additions and 6 deletions

View File

@ -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

View File

@ -0,0 +1 @@
0 * * * * /srv/kanboard/cli cronjob >/dev/null

View File

@ -0,0 +1,4 @@
#!/bin/execlineb -P
fdmove -c 2 1
crond -f -d 8

View File

@ -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

View File

@ -0,0 +1 @@
*/10 * * * * /srv/seeddms/seeddms/utils/seeddms-indexer >/dev/null

View File

@ -0,0 +1,4 @@
#!/bin/execlineb -P
fdmove -c 2 1
crond -f -d 8

View File

@ -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

View 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

View File

@ -0,0 +1,4 @@
#!/bin/execlineb -P
fdmove -c 2 1
crond -f -d 8