Re: Crontab for Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



bob wrote:
Hi,

I am trying to schedule the running of some PHP scripts on my Win2K PC at home.

On my live server I use Linux, so am fully familiar with Crontab. I am not that familiar with running scripts using the scheduler in Win2K though.

So far what I have is:

C:\php\php.exe -q c:\path\to\php\file.php

what happens if you quote everything?:

"C:\php\php.exe" "-q" "c:\path\to\php\file.php"


But this doesn't seem to do anything..the task manager in the windows scheduler just keeps saying that the task has not been run.


Any suggestions?

Also, one thing I would like my script to do is to send out an email, but I don't have a mail server set up on my home PC..is there anyway to run a script from a server on a different machine, using Windows scheduler, and if so, what form would the 'path' to the file/server take?

Many thanks
Alexis


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux