adding notifications to the Event Viewer

×

Error message

  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home4/ccollins/public_html/ccollins/includes/common.inc).
  • Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2405 of /home4/ccollins/public_html/ccollins/includes/menu.inc).

So i got it into my head that i needed to log the .bat files that i had scheduled.
After a quick google i came up with this.

eventcreate /t information /id 1 /d "stop W3SVC"

this is a exe that logs to the event viewer. Very nifty!