Posting automatically using vbscript
-
I’ve set up a scheduled task to run a vbscript file every 15 minutes to get postie to post automatically. The script just makes a simple HTTP GET request to /wp-content/plugins/postie/get_mail.php as described here: https://stackoverflow.com/questions/204759/http-get-in-vbs.
Here’s what the script looks like:
Call CheckMail() Sub CheckMail() On Error Resume Next Dim getRequest Dim URL Set getRequest = CreateObject("MSXML2.XMLHTTP") URL = "https://www.mydomainhere.com/blog/wp-content/plugins/postie/get_mail.php" getRequest.open "GET", URL , false getRequest.Send Set getRequest = Nothing End Sub
I have plenty other scheduled tasks like this set up to run tasks and they work as they should. Is there any reason why this wouldn’t work with postie?
Cheers,
Andrew
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Posting automatically using vbscript’ is closed to new replies.