#!/bin/bash -ex
# Needs DEIS_CONTROLLER URL, DEIS_USERNAME, DEIS_PASSWORD,
# DEIS_PROFILE, and DEIS_APPLICATION environment variables.
#
# To set them go to Job -> Configure -> Build Environment -> Inject
# passwords and Inject env variables
#

deis login $DEIS_CONTROLLER --username=$DEIS_USERNAME --password=$DEIS_PASSWORD
deis run -a $DEIS_APPLICATION -- '\
./manage.py rnasync; \
./manage.py cron update_ical_feeds; \
./manage.py update_product_details; \
./manage.py update_externalfiles; \
./manage.py update_security_advisories; \
./manage.py cron update_tweets;'

#!/bin/bash -ex
# Needs DEIS_CONTROLLER URL, DEIS_USERNAME, DEIS_PASSWORD,
# DEIS_PROFILE, and DEIS_APPLICATION environment variables.
#
# To set them go to Job -> Configure -> Build Environment -> Inject
# passwords and Inject env variables
#

deis login $DEIS_CONTROLLER --username=$DEIS_USERNAME --password=$DEIS_PASSWORD
deis run -a $DEIS_APPLICATION -- '\
./manage.py rnasync; \
./manage.py cron update_ical_feeds; \
./manage.py update_product_details; \
./manage.py update_externalfiles; \
./manage.py update_security_advisories; \
./manage.py cron update_tweets; \
./manage.py runscript update_firefox_os_feeds'

Update firefox os feeds periodically
Update firefox os feeds periodically
