Advertisement
Guest User

Untitled

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