|
|
 |
RE: FN-FORUM: Suggestions please
date posted 30th January 2006 11:10
Hi Pam,
Try something like this for your CRON job:-
php -q /home/MYUSERNAME/public_html/whatever.php
If the -q flag doesn't work, try it with -f instead. As long as your script
works through the browser, you shouldn't have any problems.
Lee.
-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of
[EMAIL REMOVED]
Sent: 30 January 2006 11:35
To: FN-FORUM / [EMAIL REMOVED]
Subject: FN-FORUM: Suggestions please
I am after a job where there will be csv files on a ftp server that will
need uploading to a database once a day and I am trying to work out the best
way to do it. I gather you need "allow_url_fopen = On" set in php.ini to be
able to use the ftpwrapper. Is it likely to be set to on? It should be in
php as far as I know unless they change their mind. I was wondering about
setting up a cron job to do it. Has anyone done anything similar as I am
looking for pointers in the right direction?
Thanks
Pam
--
Freelancers, contractors earn more with Prosperity4
Call 0870 870 4414 or visit www.prosperity4.com
and benefit from Inland Revenue approved expenses today.
To advertise here: http://www.freelancers.net/advertising.html
|
 |
|