[LON-CAPA-cvs] cvs: loncom /cron loncapa

raeburn raeburn@source.lon-capa.org
Mon, 22 Feb 2010 15:34:57 -0000


raeburn		Mon Feb 22 15:34:57 2010 EDT

  Modified files:              
    /loncom/cron	loncapa 
  Log:
  - Run Autocreate.pl (once nightly, by default) - will only create courses in a domain when:
    (a) run on the primary library server in the domain.
    (b) if domain configuration has been set to include Automated Course Creation from
        /home/httpd/perl/tmp/addcourse/$dom/auto/pending (XML) or from courserequestqueue.db 
        (official courses requiring validation).
  
  
Index: loncom/cron/loncapa
diff -u loncom/cron/loncapa:1.17 loncom/cron/loncapa:1.18
--- loncom/cron/loncapa:1.17	Mon Jun  4 14:24:57 2007
+++ loncom/cron/loncapa	Mon Feb 22 15:34:57 2010
@@ -26,3 +26,9 @@
 
 # Run the auto update script to update first name, last name etc. information.
 30 3 * * *    www    /home/httpd/perl/Autoupdate.pl
+
+# Run auto create script to create courses in:
+# (a) /tmp/addcourse/$dom/auto/pending (XML-based course descriptions);
+# (b) online course requests for official courses queued pending validation
+#     of instructor of record status
+30 2 * * *    www /home/httpd/perl/Autocreate.pl