MrGibbage Super User
Joined: October 23 2006 Location: United States
Online Status: Offline Posts: 513
|
Posted: December 02 2009 at 20:36 | IP Logged
|
|
|
... on a linux server??
How would you do this? I have powerhome running at home
and I have a script running on my webserver (dreamhost,
so I only have remote access to the server--no physical
access) that pulls a picture from my webcams every 15
seconds. I would like to save some space and only have
it pulling pictures while my system is armed. So how
would I start and stop this script automatically from
powerhome? Right now I manually ssh into the server and
start and stop the daemon. But now I want to take it to
the next level. I thought of maybe letting the daemon
run ALL the time, but perhaps have as part of the script
to look for a certain file. If the file is there, grab
the pic. If not, don't grab the pic. So then all I
would have to do is figure out a way to put and remove
this special file. But perhaps there is a better way?
How would you solve this problem? Yeah, this isn't
exactly a PH problem, but ultimately however I do it, PH
is going to make it happen, so I do need to keep that in
mind.
|