Quote:
Originally Posted by kpace1
im having problems trying to get it to work here are my results....any help will be appreciatted thanks
|
kpace1, Your permissions look OK, and these lines indicate that Pericam is ready to start taking pictures:
2008-02-20 11:48:11.555 Pericam[2431:d03] command = echo "0-59/1 * * * * /Applications/Pericam.app/pericam.sh 480 60" | crontab
0-59/1 * * * * /Applications/Pericam.app/pericam.sh 480 60
2008-02-20 11:48:11.778 Pericam[2431:d03] pericam.sh is running.
However, it looks like you didn't let it run long enough to actually take a picture, and you didn't include the info as to whether you created the symlink properly.
It must run at least 1 minute (with the timer set to 1) before any pictures will be taken.
If you enter into Terminal:
ls -la /var/root/
You should see as part of the output:
lrwxr-xr-x 1 root wheel 17 Feb 1 12:52 Media -> /var/mobile/Media
This indicates the symlink to Media has been created properly.
If you enter:
ls -la /var/mobile/Media/DCIM/100APPLE/
You should see this line:
drwxrwxrwx 2 mobile mobile 68 Feb 19 22:30 PERICAM
That indicates you've manually created the PERICAM folder in the right spot (and it has proper permissions).
BTW, this line is NOT an indication of a problem, it's just part of the cleanup routine in Pericam:
rmdir: /var/root/Media/DCIM/100APPLE/PERICAM/*: No such file or directory
------------------
Quote:
Originally Posted by iBlade
If I start it with putty it works but it does save the pics to var/root/Media/DCIM/100APPLE/PERICAM/ however if I run it on the phone it starts and stops normally but no pictures are saved.
|
iBlade, You haven't given me enough info to help, although I appreciate the abbreviated output. See the comments above to see the specific info needed. It sounds to me like you haven't created the symlink, which would give you the results you describe, since mobile doesn't have privileges to write to the root folder or subfolders.
One other interesting discovery:
If you launch Pericam from Terminal, start interval shooting from the phone, and then Control-C to end the app, Pericam will continue to take pictures forever, EVEN AFTER REBOOTING THE PHONE!
It runs a cron job that can't be terminated by the mobile user, so to stop it, you'll need to launch the app from Terminal again (as root), and toggle the interval button on the phone to stop it. Then exit Terminal with Control-C and all should be right with the world.