[svlug] PHP script when file changes

Skip Evans skip at bigskypenguin.com
Mon May 24 15:27:12 PDT 2010


Oh! Um... because... because... um...

...okay. :)

Wow... I can't believe that didn't occur on me.

"Hello, McDonald's? Yeah, do you have any openings? I need a 
career change."

Skip

Bill Ward wrote:
> If it's a PHP script does that mean it's Web-based?  So why not use wget 
> / curl / lwp-request to activate it?
> 
> On Mon, May 24, 2010 at 2:26 PM, Skip Evans <skip at bigskypenguin.com 
> <mailto:skip at bigskypenguin.com>> wrote:
> 
>     Hey all,
> 
>     I have a requirement to fire off a PHP script from the command
>     line to process a file updated in a directory.
> 
>     So I'll have 16 .csv files in a directory representing graph
>     data, and every time one is updated (scp'd from a second
>     server), the PHP script needs to open the file and create a
>     new graph for it.
> 
>     I've been Googling different keywords and stuff I thought
>     might find what I'm looking for, but so far I'm not even
>     hitting the broad side of the barn.
> 
>     Any advice where to start would be great.
> 
>     Thanks,
>     Skip
> 
>     --
>     ====================================
>     Skip Evans
>     PenguinSites.com, LLC
>     503 S Baldwin St, #1
>     Madison WI 53703
>     608.250.2720
>     http://penguinsites.com
>     ------------------------------------
>     Those of you who believe in
>     telekinesis, raise my hand.
>      -- Kurt Vonnegut
> 
>     _______________________________________________
>     svlug mailing list
>     svlug at lists.svlug.org <mailto:svlug at lists.svlug.org>
>     http://lists.svlug.org/lists/listinfo/svlug
> 
> 
> 
> 
> -- 
> Check out my LEGO blog at http://www.brickpile.com/
> View my photos at http://flickr.com/photos/billward/
> Follow me at http://twitter.com/williamward

-- 
====================================
Skip Evans
PenguinSites.com, LLC
503 S Baldwin St, #1
Madison WI 53703
608.250.2720
http://penguinsites.com
------------------------------------
Those of you who believe in
telekinesis, raise my hand.
  -- Kurt Vonnegut




More information about the svlug mailing list