Skip to content
Snippets Groups Projects
Commit 807b7136 authored by rswindell's avatar rswindell
Browse files

Added WARNING and date/time to message text (to avoid dupes).

parent 1c2f975c
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,8 @@ if(msgbase.open!=undefined && msgbase.open()==false) {
hdr = { to: 'sysop', to_ext: '1', from: 'chkspace', subject: 'Low disk space notification' }
if(!msgbase.save_msg(hdr, "Only " + freespace + " bytes of free disk space!"))
if(!msgbase.save_msg(hdr, "WARNING: Only " + freespace + " bytes of free disk space on "
+ system.timestr()))
log("!Error " + msgbase.last_error + "saving mail message");
log("E-mailed low disk space notification to sysop");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment