Skip to content

Commit

Permalink
Fixes #1107: Platform sh command for v0.6.7 updated
Browse files Browse the repository at this point in the history
  • Loading branch information
saravanan477 committed May 31, 2019
1 parent a65bca5 commit f1fed0d
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 f1fed0d

Please sign in to comment.