diff options
-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 |