LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Say I have a website which needs to get updated daily (https://www.linuxquestions.org/questions/linux-newbie-8/say-i-have-a-website-which-needs-to-get-updated-daily-752036/)

beckettisdogg 09-02-2009 05:07 AM

Say I have a website which needs to get updated daily
 
What is the most common, well-known, efficient way to keep it automatically updated daily?

C program? Bash script? server-side laguage such as Java EE? php?


thank you

teebones 09-02-2009 05:13 AM

what do you mean exactly with, "daily updated" ?
Do you mean grabbing content from other sites? (like RSS feeds)
or creating content for it?

beckettisdogg 09-02-2009 09:34 AM

I mean the content of the website gets changed everyday :)

sycamorex 09-02-2009 09:41 AM

What kind of updates are they? Automatic ones with predictable content or everyday it's something else to be changed?

wotsit 09-02-2009 10:14 AM

This questions is abit open ended as you don't say what it is that gets updated, is it like a content management system and you want to keep using the latest version of the open source code or what? or update the programming language e.g. mono or php and want to keep up to date? if so this is bad practice.

but you can do it anyway you like and just trigger a cronjob or something from your database, though i would recommend that you include logging with what ever you write your update in and if you can ensure that you can roll back.

beckettisdogg 09-02-2009 04:15 PM

guess what boys and girls, I just decided to go with C and bash scripts because those are the only languages I know other than Java and Java will be too resource hungry.


All times are GMT -5. The time now is 03:14 AM.