summaryrefslogtreecommitdiff
path: root/cron
diff options
context:
space:
mode:
Diffstat (limited to 'cron')
-rw-r--r--cron/sync_links.py5
-rw-r--r--cron/sync_photo_sets.py4
-rw-r--r--cron/sync_photos.py7
3 files changed, 8 insertions, 8 deletions
diff --git a/cron/sync_links.py b/cron/sync_links.py
index 21b42e6..e516bfe 100644
--- a/cron/sync_links.py
+++ b/cron/sync_links.py
@@ -8,6 +8,5 @@ sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf/lib/utils')
sys.path.append('/home/luxagraf/webapps/django/lib/python2.6/')
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
-from links import utils
-#utils.sync_magnolia_links()
-utils.sync_delicious_links() \ No newline at end of file
+from links import retriever
+retriever.sync_delicious_links() \ No newline at end of file
diff --git a/cron/sync_photo_sets.py b/cron/sync_photo_sets.py
index 5620bb5..1f93a82 100644
--- a/cron/sync_photo_sets.py
+++ b/cron/sync_photo_sets.py
@@ -7,5 +7,5 @@ sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf/lib')
sys.path.append('/home/luxagraf/webapps/django/lib/python2.6/')
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
-from photos import utils
-utils.sync_sets() \ No newline at end of file
+from photos import retriever
+retriever.sync_sets() \ No newline at end of file
diff --git a/cron/sync_photos.py b/cron/sync_photos.py
index 03aa3ec..06f7156 100644
--- a/cron/sync_photos.py
+++ b/cron/sync_photos.py
@@ -3,9 +3,10 @@ import sys, os
sys.path.append('/home/luxagraf/webapps/django1_2')
sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf')
sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf/apps')
-sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf/lib')
sys.path.append('/home/luxagraf/webapps/django1_2/lib/python2.6/')
+sys.path.append('/home/luxagraf/webapps/django1_2/luxagraf/lib')
+
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
-from photos import utils as p
-p.sync_flickr_photos() \ No newline at end of file
+from photos import retriever
+retriever.sync_flickr_photos() \ No newline at end of file