On 8/5/10 9:59 PM, Chung Pham The wrote:
> Could I get your script ?
> and fcron line to run script !
> my mail: [email protected] <mailto:[email protected]>
> Thank you !

Sure. Here's the source:

http://dev.lightcube.us/~jhuntwork/update_packages.phps

You'll need php with support for curl. I'm using 5.2.8. It should work 
with >= 5.3, although it might complain about the date function - you'd 
have to change to the DateTime class in that case.

crontab:
0 */6 * * * php /path/to/update_packages.php

Jeremy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to