summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2010-03-13 19:34:58 +0000
committerluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2010-03-13 19:34:58 +0000
commit393bfd7ad1f49f473708c7bef336a529aee6a0d8 (patch)
tree22eb67f84e039cfbd17030f60485fab221f5a502
parent9aa6fa7cf6cb10103de9284e26db7e68b039a0b7 (diff)
added photo cron scripts
-rw-r--r--cron/sync_photo_sets.py11
-rw-r--r--cron/sync_photos.py11
2 files changed, 22 insertions, 0 deletions
diff --git a/cron/sync_photo_sets.py b/cron/sync_photo_sets.py
new file mode 100644
index 0000000..c8b67df
--- /dev/null
+++ b/cron/sync_photo_sets.py
@@ -0,0 +1,11 @@
+import sys, os
+
+sys.path.append('/home/luxagraf/webapps/django')
+sys.path.append('/home/luxagraf/webapps/django/luxagraf')
+sys.path.append('/home/luxagraf/webapps/django/luxagraf/apps')
+sys.path.append('/home/luxagraf/webapps/django/luxagraf/lib')
+sys.path.append('/home/luxagraf/webapps/django/lib/python2.5/')
+os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
+
+from photos import utils
+utils.sync_flickr_photos() \ No newline at end of file
diff --git a/cron/sync_photos.py b/cron/sync_photos.py
new file mode 100644
index 0000000..c8b67df
--- /dev/null
+++ b/cron/sync_photos.py
@@ -0,0 +1,11 @@
+import sys, os
+
+sys.path.append('/home/luxagraf/webapps/django')
+sys.path.append('/home/luxagraf/webapps/django/luxagraf')
+sys.path.append('/home/luxagraf/webapps/django/luxagraf/apps')
+sys.path.append('/home/luxagraf/webapps/django/luxagraf/lib')
+sys.path.append('/home/luxagraf/webapps/django/lib/python2.5/')
+os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
+
+from photos import utils
+utils.sync_flickr_photos() \ No newline at end of file