Automation using Windows Scheduler?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lawrenceboland
Forum Newbie
Posts: 2
Joined: Tue Jan 24, 2006 12:02 pm

Automation using Windows Scheduler?

Post by lawrenceboland »

I have a PHP based site that is hosted by an outside company. I am not allowed to use unix based cronjob's on their machines. Is there any way that I can have windows scheduler or something else to run a php page on my website every 10 minutes between the hours of 9:30am and 4pm? Hopefully looking for something that runs in the background of my home computer.

Thanks for any advice.

-Bo
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post by josh »

If you install php on your computer, you can write a script that runs a script on your server (by downloading the page), and run it on the CLI from a batch file
lawrenceboland
Forum Newbie
Posts: 2
Joined: Tue Jan 24, 2006 12:02 pm

Post by lawrenceboland »

I'm sorry... can you say that like you're explaining it to a 2 year old? :-)

You want me to install php onto my desktop. What is "CLI"? And are you saying that I write a windows batch file? Can I make this execute at a certain time?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

CLI = Command Line Interface

on Windows machines, research the "at" command line tool, which allows you to interact with the scheduler..
Post Reply