[CentOS] Job Script

2007-12-29 Thread Christopher E
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


Re: [CentOS] Job Script

2007-12-29 Thread Matt Shields
On Dec 29, 2007 9:47 PM, Christopher E [EMAIL PROTECTED] 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