Mercurial > hg > Feedworm
view 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 |
line wrap: on
line source
#!/bin/bash DB_URL="mysql://root:mysql@xanthippe/feedworm?use_unicode=1&charset=utf8" ./feedupdate-main.py ${DB_URL}