Skip to content

Commit

Permalink
Merge pull request #2638 from RestyaPlatform/issue/1107
Browse files Browse the repository at this point in the history
Fixes #1107: Platform sh command for v0.6.7 updated
  • Loading branch information
S. Sivachidambaram authored Jun 3, 2019
2 parents f180016 + f1fed0d commit 66a459b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .sandstorm/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,7 @@ sed -i "s/^.*'R_DB_HOST'.*$/define('R_DB_HOST', '${POSTGRES_DBHOST}');/g" "${RES
sed -i "s/^.*'R_DB_PORT'.*$/define('R_DB_PORT', '${POSTGRES_DBPORT}');/g" "${RESTYABOARD_DIR}/server/php/config.inc.php"

# Restyaboard cron setup
echo "*/5 * * * * ${RESTYABOARD_DIR}/server/php/shell/instant_email_notification.sh > /dev/null 2> /dev/null" >> /var/spool/cron/crontabs/root
echo "0 * * * * ${RESTYABOARD_DIR}/server/php/shell/periodic_email_notification.sh > /dev/null 2> /dev/null" >> /var/spool/cron/crontabs/root
echo "*/30 * * * * ${RESTYABOARD_DIR}/server/php/shell/imap.sh > /dev/null 2> /dev/null" >> /var/spool/cron/crontabs/root
echo "*/5 * * * * ${RESTYABOARD_DIR}/server/php/shell/webhook.sh > /dev/null 2> /dev/null" >> /var/spool/cron/crontabs/root
echo "*/5 * * * * ${RESTYABOARD_DIR}/server/php/shell/card_due_notification.sh > /dev/null 2> /dev/null" >> /var/spool/cron/crontabs/root
echo "*/5 * * * * ${RESTYABOARD_DIR}/server/php/shell/main.sh > /dev/null 2> /dev/null" >> /var/spool/cron/crontabs/root

# Restarting services
service cron restart
Expand Down

0 comments on commit 66a459b

Please sign in to comment.