diff options
Diffstat (limited to 'cron')
-rw-r--r-- | cron/sync_links.py | 6 | ||||
-rw-r--r-- | cron/sync_photo_sets.py | 2 | ||||
-rw-r--r-- | cron/sync_photos.py | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/cron/sync_links.py b/cron/sync_links.py index d622bbb..51422ce 100644 --- a/cron/sync_links.py +++ b/cron/sync_links.py @@ -3,13 +3,11 @@ from os.path import dirname, abspath PROJECT_ROOT = abspath(dirname(dirname(__file__))) - sys.path.append(PROJECT_ROOT) sys.path.append(PROJECT_ROOT+'/apps') sys.path.append(PROJECT_ROOT+'/lib') sys.path.append(PROJECT_ROOT+'/lib/utils') -sys.path.append('/home/luxagraf/webapps/django/lib/python2.6/') +sys.path.append('/home/luxagraf/webapps/django1_3/lib/python2.7/') os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' - from links import retriever -retriever.sync_delicious_links()
\ No newline at end of file +retriever.sync_pinboard_links()
\ No newline at end of file diff --git a/cron/sync_photo_sets.py b/cron/sync_photo_sets.py index 9d3f754..8ce8bb5 100644 --- a/cron/sync_photo_sets.py +++ b/cron/sync_photo_sets.py @@ -7,7 +7,7 @@ sys.path.append(PROJECT_ROOT) sys.path.append(PROJECT_ROOT+'/apps') sys.path.append(PROJECT_ROOT+'/lib') sys.path.append(PROJECT_ROOT+'/lib/utils') -sys.path.append('/home/luxagraf/webapps/django/lib/python2.6/') +sys.path.append('/home/luxagraf/webapps/django1_3/lib/python2.7/') os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' from photos import retriever diff --git a/cron/sync_photos.py b/cron/sync_photos.py index 492a986..916057f 100644 --- a/cron/sync_photos.py +++ b/cron/sync_photos.py @@ -7,7 +7,7 @@ sys.path.append(PROJECT_ROOT) sys.path.append(PROJECT_ROOT+'/apps') sys.path.append(PROJECT_ROOT+'/lib') sys.path.append(PROJECT_ROOT+'/lib/utils') -sys.path.append('/home/luxagraf/webapps/django/lib/python2.6/') +sys.path.append('/home/luxagraf/webapps/django1_3/lib/python2.7/') os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' from photos import retriever |