In my defence I wasn't asking for anyone to fix this for me.. I wanted to understand what was going on and suspected I'd come across an anomaly, or perhaps new area of learning related to timing events. However it now seems I've just learned again that I'm [admin: avoid swearing please] at scripting (cron error).
Hi WW,Sorry I was rather defensive.. I really appreciate the generosity and help you guys provide and don't like to appear unwilling to try coding for myself. However I am really not confident to alter multilapse, with it's related scripts. I only have a few more days before I install this current rig, so I need to get it working.
While attempting my coding I found an error in my cron script which may be the cause of my earlier problem so I'm going to see if I can get back onto solid ground (in my understanding), rather than the mud I'm currently sinking in.
However I have failed thus far, partly because the instructions to add breaks before the end of the main loop in multilapse.lua and also in the bash script, multilapse, didn't work quite as I expected and I lack the logic to understand why.
I am still very keen to pursue the ultra low power option, for off grid deployment ....
I was trying do do exactly what you suggest
I'm hacking into this Multilapse now and hoping to find a way to switch to record mode inbetween shots as you suggested.
FWIW, if you just want to run single shots from cron, there's not a whole lot of reason to involve multilapse. Your cron script could just invoke chdkptp to do one remote shoot.
#!/bin/bash/home/build/chdkptp/trunk/run -c -e"rec"/home/build/chdkptp/trunk/run -c -e"rs /home/a/Pictures"
lrwxrwxrwx 1 root root 12 Aug 16 2017 chdkptp -> chdkptp.r745-rwxrwxrwx 1 root root 216388 Mar 6 2017 chdkptp_gui-rwxrwxrwx 1 root root 364 Mar 6 2017 chdkptp_gui.sh-rwxrwxrwx 1 root root 212128 Aug 16 2017 chdkptp.r735-rwxrwxrwx 1 root root 400332 Aug 16 2017 chdkptp.r745-rwxrwxrwx 1 root root 270 Aug 16 2017 chdkptp.sh-rwxrwxrwx 1 root root 15127 Mar 6 2017 COPYINGdrwxrwxrwx 2 root root 4096 Mar 6 2017 libdrwxrwxrwx 3 root root 4096 Mar 6 2017 lua-rwxrwxrwx 1 root root 2642 Mar 6 2017 README-LINUX-BINARIES.TXT-rwxrwxrwx 1 root root 1321 Mar 6 2017 README-OSX.TXT-rwxrwxrwx 1 root root 4415 Mar 6 2017 README-RASPI-LIBS.TXT-rwxrwxrwx 1 root root 7423 Mar 6 2017 README.TXT-rwxrwxrwx 1 root root 11140 Aug 16 2017 signal.so-rwxrwxrwx 1 root root 1641 Mar 6 2017 THANKS.TXT-rwxrwxrwx 1 root root 32557 Mar 6 2017 USAGE.TXT
I don't have a directory called trunkPerhaps my installation differs from yours?Perhaps because it's the Rasbian version?
Also, because the script doesn't switch back to play mode, am I right in assuming the sensor will be on constantly?
Started by jojo99 General Help and Assistance on using CHDK stable releases
Started by waldo General Discussion and Assistance
Started by rosspian Script Writing
Started by kmboise Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by waterwingz « 1 2 ... 60 61 » General Discussion and Assistance