Commit Diff


commit - 4dea53cf712ce9762e3ee3daf811afc0a64c80ac
commit + 8c89518b6f1db0612e47cfd3fe958808393a9499
blob - da0f9646c241593859cfe13fc8c8b0c0001d75f1
blob + 5a550ad71cf557767162cab4e31842406ac8f1c3
--- README.md
+++ README.md
@@ -16,7 +16,7 @@ Since `vdcron` does not run continuously, it must be t
 
     obsd:~ # cat /etc/apm/resume
     #!/bin/sh
-    /usr/local/bin/vdcron
+    /usr/local/bin/vdcron "/etc/apm/resume"
 
 Ensure `apmd` is enabled:
 
blob - 23606087d2a18f12febaf783123eb9a4d8e17e42
blob + f4b82a746287aa27e7ef2e54a930d855d956cc50
--- vdcron.8
+++ vdcron.8
@@ -25,6 +25,7 @@
 .Op Fl s Ar value
 .Op Fl f Ar file
 .Op Fl l Ar value
+.Op context
 .Sh DESCRIPTION
 .Nm
 is first of all a cron.
@@ -62,6 +63,10 @@ Force an initial sleep different than the default: 10 
 Use a specific input file. The default is /etc/vdcron.conf for root, or ~/.vdcron/vdcron.conf for all other users
 .It Fl l Ar value
 To keep log files to a decent size. By default it 1000 lines
+.It context
+context is an optional free text parameter which will be retraived in the log files. The goal of this paramter is easily identify what has triggered
+.Nm .
+By default the value will be "cli". 
 .El
 .Sh How trigger vdcron ?
 I remind that