PepperPing Batch

PepperPing Batch is the batch version of PepperPing.

It has less features than the full version but you can run it without log in: you run it by CMD command, using an extremely simple syntax, without any GUI.

Like the full version, it generates a detailed log file.

However, the most important thing is you can schedule it through Windows Task Scheduler, in order to run it (i.e. on a server) without need to logging in.

PepperPing Batch requires two XML files in order to run correctly:

  • session.xml – In this file you have to set the URL to ping and some other options like ping interval (in milliseconds), max nr. of alter mails per session, log just the failed ping or even the the successful ones, enable the recap mail and so on.
  • settings.xml – In this file, instead, you have to set the Log folder path and the SMTP parameters.

In this way you are able to handle different session.xml files using the same settings.xml.

Here an example of session and settings XML files:

session.xml and settings.xml

After you placed pepperping_batch.exe, session.xml and settings.xml in a dedicated folder, you can run it in this way: 

pepperping_batch.exe session.xml settings.xml

PepperPing Batch Launch Command

Now you just need to set up the task into the Windows Task Scheduler, in order to run it automatically, for example, when your Windows Server starts.

Here how to do it:

  • Create a new Windows Task Scheduler task. Call it as you prefer
  • General tab: choose Run whether user is logged on or not option
  • Triggers tab: Run the task At startup
  • Actions tab: New… Start a program
    • Program: C:\PepperPingBatch\PepperPing_Batch.exe
    • Add arguments: C:\PepperPingBatch\session.xml C:\PepperPingBatch\settings.xml

That’s all. You can run it.

Here the resulting log:

You can download PepperPing Batch here