Re: cron job and php

From: Date: Tue, 16 Apr 2002 17:17:14 +0000
Subject: Re: cron job and php
Groups: php.db 
Request: Send a blank email to php-db+get-18559@lists.php.net to get a copy of this message
Thanks Lisi. The use of php in front of the path made /home/harpreet/crontest.php run one time when run from the telnet prompt. But it still doesnt run from the crontab. I created a mycron.txt file with the below statement. The put crontab mysql.txt to specify the cron. But it doesnt seem to run this way. What am i doing wrong. Please help. Help is appreciated. Regards, harpreet kaur
From: Lisi <lists@shemeshdirectory.co.il> To: "Harpreet Kaur" <harpreetnc@hotmail.com>, php-db@lists.php.net Subject: Re: [PHP-DB] cron job and php Date: Tue, 16 Apr 2002 19:13:11 +0200 Try */1 * * * * php /home/harpreet/crontest.php or */1 * * * * php ~/crontest.php ~ means your home directory. I think this should work, every minute. -Lisi At 03:54 PM 4/16/02 +0000, Harpreet Kaur wrote:
Can i run a php page using a crontab job. I am trying to do so but no luck. My cron job statement is : * * * * * lynx /home/harpreet/crontest.php Actually i want to run a script every 10 minutes to do some background job like we do in sql server. How can i do it with mysql and php. Help is appreciated, regards, Harpreet Kaur _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com

« previous php.db (#18559) next »