Fix url where to fetch the job resulst
authorJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Tue, 12 Apr 2011 08:14:24 +0000 (08:14 +0000)
committerJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Tue, 12 Apr 2011 08:14:24 +0000 (08:14 +0000)
bin/jobrunner.py

index 5bc78d9285b88df0d3d3d70da5e043c11fe6388d..d9a62f8148866bc143009302e8ea0b3903489438 100755 (executable)
@@ -158,7 +158,7 @@ def runjob():
             if not email:
                 logging.error("Can't find email of user %s", user_id)
             else:
-                sendmail(fromaddr=NOTIFICATION_EMAIL, toaddr=email, subject='Job complete', message='Your job is complete. You can download it at %sjob/' % AIS_BASE_URL)
+                sendmail(fromaddr=NOTIFICATION_EMAIL, toaddr=email, subject='Job complete', message='Your job is complete. You can download it at %s/job/' % AIS_BASE_URL)
         # else SMS...
 
     return True