FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > General Site Owner Support (All may read/respond) > PHP, Perl, Python and/or MySQL
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 07-15-1999, 01:28 PM   Postid: 42907
pdstein
Registered User

Forum Notability:
0 pts:
[Post Feedback]
 
Join Date: May 1999
Posts: 242
cron and PHP

Hi folks,

Does the fact that PHP3 runs as an Apache module here rather than a CGI preclude me from executing a PHP3 script in a cron job?

- Paul
pdstein is offline   Reply With Quote
Old 07-15-1999, 07:28 PM   Postid: 42908
Justin
Visitor
 
Justin's Avatar

Forum Notability:
0 pts:
[Post Feedback]
 
Join Date: Jan 1999
Location: Kissimmee, FL
Posts: 3,672
/usr/local/bin/php scriptname.php

To prevent the printing of the Content header, add the -q switch:

/usr/local/bin/php -q scriptname.php

Hope this helps

------------------
Justin Nelson
FutureQuest Support
Justin is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 05:41 AM.


Running on vBulletin®
Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2013 FutureQuest, Inc.
FutureQuest, Inc.