FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 12-30-2007, 01:47 AM
"Christopher E"
 
Default Job Script

Hello All,

Is there a way to run a script from CentOS 5 and have it look at a
file and get it if its new then the file it got last time, if not it
does nothing, if its a new file then it wgets the file and then unzip
the file then runs a php script, I would want this to check once a
week or if it would not make much of a different then each day is fine

if this is able to be done can someone point me in the right direction
to do such!

Sincerely,
Christopher
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-30-2007, 03:13 AM
"Matt Shields"
 
Default Job Script

On Dec 29, 2007 9:47 PM, Christopher E <sensory.access@gmail.com> wrote:
> Hello All,
>
> Is there a way to run a script from CentOS 5 and have it look at a
> file and get it if its new then the file it got last time, if not it
> does nothing, if its a new file then it wgets the file and then unzip
> the file then runs a php script, I would want this to check once a
> week or if it would not make much of a different then each day is fine
>
> if this is able to be done can someone point me in the right direction
> to do such!
>
> Sincerely,
> Christopher


The script you will need to create for yourself (or hire someone), you
can create it in any language. Then call it from a cronjob on
whatever schedule you want.

--
-matt
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 06:26 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org