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