Windows server uses "Task Scheduler" that provides the ability to schedule the launch of programs or scripts at pre-defined times or after specified time intervals.
Post Affiliate Pro has a file called 'jobs.php' that needs to be executed periodically. The easiest way to manage it in a Windows server is to use the following code:
Call LogEntry() Sub LogEntry() On Error Resume Next Dim objRequest Dim URL Set objRequest = CreateObject("Microsoft.XMLHTTP") URL = "https://URL_TO_PostAffiliatePro/scripts/jobs.php" objRequest.open "POST", URL , false objRequest.Send Set objRequest = Nothing End Sub
while that code must be placed into some .vbs file and in the Task Scheduler you have to set that .vbs file to be executed periodically. E.g. every 1, 2, 3 ... 10 minutes. The more frequently it runs, the better.
Do not forget to replace in that code the "URL_TO_PostAffiliatePro" with the real URL leading to your installation of Post Affiliate Pro.
Another possibility is to set up in the Task Scheduler a command like this one:
"C:\Path_to\php.exe" -f "C:\Path_to_PostAffiliatePro\scripts\jobs.php"Do not forget to replace "Path_to\php.exe" with the real path leading to the php.exe file in the PHP installation in your server and "Path_to_´PostAffiliatePro" with the real path leading to the installation of Post Affiliate Pro in your server.