annotate feedupdate.sh @ 70:842727971796

have the DB URL as parameter when creating a session and fall back to commandline arguments if no DB URL was passed in
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 11 Aug 2010 02:30:47 +0200
parents e24777e346e7
children 40163eac0d27
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
65
e24777e346e7 add a runner script for Xanthippe
dirk@xanthippe.ping.de
parents:
diff changeset
1 #!/bin/bash
e24777e346e7 add a runner script for Xanthippe
dirk@xanthippe.ping.de
parents:
diff changeset
2 DB_URL="mysql://root:mysql@xanthippe/feedworm?use_unicode=1&charset=utf8"
e24777e346e7 add a runner script for Xanthippe
dirk@xanthippe.ping.de
parents:
diff changeset
3
e24777e346e7 add a runner script for Xanthippe
dirk@xanthippe.ping.de
parents:
diff changeset
4 ./feedupdate-main.py ${DB_URL}