Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-24-2008, 07:01 AM   #1
lucky482
Confirmed User
 
Join Date: Mar 2002
Location: Los Angeles
Posts: 252
Programmers I have a question

If I need to have a cron script that can build thousands pages, is it better to use perl or php, or it doesn't matter?

What problems would I be expecting when it comes to server resources when running such a cron script?

Thanks in advance.
lucky482 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-24-2008, 07:28 AM   #2
AcidMax
Confirmed User
 
Join Date: May 2002
Location: MI
Posts: 1,827
You could use perl, php, c, python etc., it really doesn't matter. As far as resources it depends on how the script is coded and what kind of memory consumption the arrays, variables, etc are going to use. Just need to be diligent and test other than that it doesn't really matter.
__________________
Latest MMA news. http://www.mmawrapup.com
AcidMax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-24-2008, 07:30 AM   #3
s9ann0
Confirmed User
 
Join Date: Sep 2001
Location: Boston
Posts: 4,873
I think perl is best for that kind of thing
s9ann0 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-24-2008, 07:35 AM   #4
draude
Confirmed User
 
draude's Avatar
 
Join Date: Nov 2006
Location: ...
Posts: 1,214
try perl or php
__________________
Web Developer
draude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-24-2008, 08:27 AM   #5
blogman9
Confirmed User
 
blogman9's Avatar
 
Join Date: Dec 2005
Posts: 1,261
build thousands pages per day ? per month ? per hour ?

Perl is good, but i would use java.
__________________
Adult industry news

blogman9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-24-2008, 08:36 AM   #6
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
Rather than a flurry of activity at xx:00 then nothing for the next 57 minutes why not write the script so that it paces the updates over the whole hour (or however long)? That way resources will be much less of a concern. (Unless the script hogs a shitload of memory)
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2008, 01:23 AM   #7
brandonstills
Confirmed User
 
brandonstills's Avatar
 
Join Date: Dec 2007
Location: Chatsworth, CA
Posts: 1,964
Perl is generally better for parsing and manipulating text. Actually by a long shot, but php deployments are more common. I would say depends. I actually use Ruby for any text automation stuff. It takes the best of a lot of languages and is very useful.
brandonstills is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.