Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. 1.Create script.bat and add this row:
  2. D:\xampp\php\php.exe" -f "D:\xampp\htdocs\includes\cron\cron.php
  3. and put them in D:
  4. 2. Create cron.vbs and add this row:
  5. Set WinScriptHost = CreateObject("WScript.Shell")
  6. WinScriptHost.Run Chr(34) & "D:\script.bat" & Chr(34), 0
  7. Set WinScriptHost = Nothing
  8. 3. Add cron.vbs in sheduled task and enjoy. Sorry for my bad lang.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement