diff options
author | luxagraf <sng@luxagraf.net> | 2011-05-10 12:54:18 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2011-05-10 12:54:18 -0400 |
commit | dc389ac8529df0cbb21d54c2020b24681d03cec2 (patch) | |
tree | 4fc04462b0d335d47137bb5186498c073f8c8f38 | |
parent | 45c093aee242da9440140638e8851f4687f72f3a (diff) |
added build shell script
-rw-r--r-- | cron/full_build.py | 5 | ||||
-rwxr-xr-x | cron/full_build.sh | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/cron/full_build.py b/cron/full_build.py index 660f903..da305ac 100644 --- a/cron/full_build.py +++ b/cron/full_build.py @@ -9,7 +9,7 @@ sys.path.append(PROJECT_ROOT+'/lib') sys.path.append('/home/luxagraf/webapps/django1_3/lib/python2.7/') os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' -from build.base import BuildWriting,BuildMap,BuildPhotos,BuildAbout,BuildProjects +from build.base import BuildWriting,BuildMap,BuildPhotos,BuildAbout,BuildProjects,BuildSitemap b = BuildWriting() b.build() @@ -24,4 +24,7 @@ b = BuildAbout() b.build() b = BuildProjects() +b.build() + +b = BuildSitemap() b.build()
\ No newline at end of file diff --git a/cron/full_build.sh b/cron/full_build.sh new file mode 100755 index 0000000..c298c25 --- /dev/null +++ b/cron/full_build.sh @@ -0,0 +1,2 @@ +#!/bin/sh +python2.7 /home/luxagraf/webapps/django1_3/luxagraf/cron/full_build.py
\ No newline at end of file |