RE: PHP and batch-files

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

 



Hi there!

Aha. Thanx. That was what I was searching for... :-)

Best regards
/Gustav Wiberg
 

-----Original Message-----
From: Lucas van Lierop [mailto:lucas@xxxxxxxxxxxxxxxxxx] 
Sent: Saturday, June 02, 2007 9:55 AM
To: 'Gustav Wiberg'; ''php windows''
Subject: FW: PHP and batch-files

Hej Gustav,

You can run php files also command line (without a webserver) just type:

php -f filename

If php is not recognized you need to specify the whole path to the php cli
executable

This way you can easily run php files from the windows task scheduler.

Check: http://nl2.php.net/manual/en/features.commandline.php

Hejdå!
Lucas



-----Original Message-----
From: Gustav Wiberg [mailto:gustav@xxxxxx] 
Sent: vrijdag 1 juni 2007 13:38
To: 'php windows' (php-windows@xxxxxxxxxxxxx)
Subject: PHP and batch-files

Hi there!
 
I want to use PHP to run as a "batch-file" on the server every night.  What
are the alternatives for doing this.
I'm using II6 and Win2003 Server, and PHP as an ISAPI-module. (vers 5.2.2)
 
Best regards
Gustav Wiberg

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



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux