[LON-CAPA-cvs] cvs: loncom / loncron
raeburn
raeburn at source.lon-capa.org
Thu Oct 24 17:24:43 EDT 2024
raeburn Thu Oct 24 21:24:43 2024 EDT
Modified files:
/loncom loncron
Log:
- Report if file could not be opened for writing.
Index: loncom/loncron
diff -u loncom/loncron:1.135 loncom/loncron:1.136
--- loncom/loncron:1.135 Thu Oct 24 20:50:05 2024
+++ loncom/loncron Thu Oct 24 21:24:43 2024
@@ -2,7 +2,7 @@
# Housekeeping program, started by cron, loncontrol and loncron.pl
#
-# $Id: loncron,v 1.135 2024/10/24 20:50:05 raeburn Exp $
+# $Id: loncron,v 1.136 2024/10/24 21:24:43 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1004,6 +1004,8 @@
}
print $sfh "\n";
$sfh->close();
+ } else {
+ print "Could not write to $statusdir/loncron_simple.txt\n";
}
}
More information about the LON-CAPA-cvs
mailing list