Trigger a photo from SSH?

I'd like to use an old iPhone as a security/timelapse camera, taking photos every X seconds and copying them off to a remote server. The biggest hurdle I've found is triggering a photo from the terminal. Is there a built-in command or jailbreak app for doing this? I've searched Cydia and scanned the iOS filesystem but haven't found anything obvious.
I'd like to use an old iPhone as a security/timelapse camera, taking photos every X seconds and copying them off to a remote server. The biggest hurdle I've found is triggering a photo from the terminal. Is there a built-in command or jailbreak app for doing this? I've searched Cydia and scanned the iOS filesystem but haven't found anything obvious.


With a name like isnoop, this can't be used for good.....
Hah! Yeah, I hadn't even thought about that. I've been using that username for about two decades.

Original thread: https://forums.imore.com/threads/trigger-a-photo-from-ssh.254912/