Jump to content

Making a bat file for Window task Scheduler


Shadowing

Recommended Posts

Can someone help me out with making a bat file. I cant find a good set of directions on google.

 

I have window scheduler all working in running but it runs my script in note pad and not IE like I need it too.

 

I also read something about php cgi file for doing this same thing but cant make heads of tails out of it from reading about it in the manual.

 

Trying to run this http://localhost/gate/users/update.php

 

 

Link to comment
Share on other sites

ahh alright i typed this into command prompt and got c:\software\xampp\xampp\php is not a recognized as an internal or external command. operable program or batch file.

 

C:\software\XAMPP\xampp\php -f "C:\Software\XAMPP\xampp\htdocs\stargate\users\update.php"

 

Thats my exact dir where my php folder is located though

 

Im using xampp with PHP 5.3.8

 

 

Link to comment
Share on other sites

when command prompt first loads I get

 

D:\documents and settings\shadowings>

 

so I hit c: enter brings me down to

c:\> then I type software\XAMPP\xampp\php.exe -f "C:\Software\XAMPP\xampp\htdocs\stargate\users\update.php"

 

and gives the same error

 

 

Link to comment
Share on other sites

making a web broswer game. every one minute was just to test it.

making it so every hour it updates all accounts adding resources for players

 

 

really appreciate you helping me out these last few weeks scootstah. im learning alot. i just have a hard time understanding the manuals on things

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.