Executing a php script periodically using crond
| From: | Henry | Date: | Tue, 02 Jul 2002 16:07:21 +0000 |
| Subject: | Executing a php script periodically using crond | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-104949@lists.php.net to get a copy of this message | ||
Hi All
I need to execute a php script every hour. I am expecting to do this using a
cron job. The question is what command line do I use to execute a php
script. Bearing in mind that my configuration is as shown below
Thanks in advance
Henry
My Configuration is as follows:
PHP Version 4.0.4pl1
System Linux nova 2.2.17 #2 Sun Oct 22 12:09:20 IST 2000 i686 unknown
Build Date Feb 11 2001
Configure Command './configure' '--prefix=/Zend'
'--with-apxs=/usr/local/apache/bin/apxs' '--disable-debug'
'--with-config-file-path=/usr/local/Zend/etc' '--without-db2'
'--disable-sysvsem' '--disable-sysvshm' '--enable-xml'
'--enable-wddx'
'--with-mysql' '--with-gd=shared,/usr/local/gd'
'--enable-gd-imgstrttf'
'--with-jpeg-dir=/usr/local/jpeg' '--with-ttf=/usr/local/freetype'
'--with-t1lib=/usr/local/t1lib' '--with-pgsql=shared,/usr/local/postgres'
'--with-imap=shared,/usr/local/imap'
'--with-ldap=shared,/usr/local/openldap'
'--with-ibm-db2=shared,/usr/local/db2'
'--with-oci8=shared,/usr/local/oracle'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/Zend/etc
ZEND_DEBUG disabled
Thread Safety disabled