Installing a CRON Module

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Installing a CRON Module

Postby bobbyallen » 08. July 2005 14:25

Hi guys,

I need to run a Cron module for PHP, does anyone know how to install it into XAMPP for Windows and where I can download the module from,

Thanks ppl,

Bobby :)
bobbyallen
 
Posts: 15
Joined: 01. July 2005 14:01

Postby Wiedmann » 08. July 2005 16:48

I need to run a Cron module for PHP

What's that, a "Cron module"?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Maller » 08. July 2005 16:59

I don´t know if there is such a thing, but windows have "task scheduler" it´s the same as adding a cron job.
You can find task scheduler in your windows control panel.
User avatar
Maller
 
Posts: 49
Joined: 06. March 2004 14:47

Postby bobbyallen » 08. July 2005 17:59

Maller wrote:I don´t know if there is such a thing, but windows have "task scheduler" it´s the same as adding a cron job.
You can find task scheduler in your windows control panel.


Yeah Im running Windows 2003 Server, So if I wanted to add a spider script for a search engine, I would just schedule the system using the "Sheduled task" app to run the php script???

Would that be correct?

Thanks guys
bobbyallen
 
Posts: 15
Joined: 01. July 2005 14:01

Postby Maller » 11. July 2005 00:40

I never used the task scheduler to execute a php file, but yeah I guess you could just make a batch file with the information you wanted, and add that to the tast scheduler.
the batch would probly look something like this
Code: Select all
@c:\xampp\php\php.exe -f script.php

Not sure if you need the -f argument but look it up.

This is just how i would do it, there could be a better or easyer way...!
User avatar
Maller
 
Posts: 49
Joined: 06. March 2004 14:47

Postby Esstee » 30. July 2005 06:15

there is a cron for windows, I think its called wincron
Esstee
 
Posts: 13
Joined: 26. June 2005 00:07


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 44 guests