Configuring sendsubscribe.bat to send scheduled subscriptions
Purpose: In order to enable sending of scheduled subscription notification emails, you will need to first edit the sendsubscribe.bat batch file on the web server to match your Virtual Directory path. Then, using the Task Manager in Windows, schedule a task to run sendsubscribe.bat every once in a while (e.g. 5 to 10 min) so it checks whether the Notification Timer Condition has been met.
Prerequisites: Novo installed and configured.
Steps:
- Below is the default sendsubscribe.bat. The line with wget.exe is the run command:
rem This is the bat file for subscription
rem
rem Parameters: %1 - virtual path to KB, for example http://localhost/kb42
rem
wget.exe -q %1/admin/sendmail_forsubcribe.asp
- So, for example, if your software is configured using a virtual directory in IIS, (i.e: http://support.company.com/kb/), the run command should be edited as below:
wget.exe -q http://support.company.com/kb
- Alternately, if your software is configured without a virtual directory (i.e: http://support.company.com/), the run command should be edited as below:
wget.exe -q http://support.company.com