Go to advanced search

by tberry
Tue Sep 23, 2014 2:54 pm
Forum: Troubleshooting
Topic: Vexing wput problem
Replies: 3
Views: 1989

Re: Vexing wput problem

Okay, a serious Linux noob mistake here. The wput and ftp is in fact working. I'd misunderstood the command and it was placing the image on the SERVER in /home/pi/Desktop/webcam/webcam.jpg I thought that was where I wanted it to get the file FROM (the RPI). The FTP username only has access to a sing...
by tberry
Mon Sep 22, 2014 10:46 pm
Forum: Troubleshooting
Topic: Vexing wput problem
Replies: 3
Views: 1989

Vexing wput problem

I'm using wput with motion software to transfer a snapshot that motion puts in a folder on the Pi to a server online. Trouble is wput only transfers part of the file and fails every time. If I manually use just FTP it works fine. The script is called simple.sh and has the following in it: #!/bin/bas...
by tberry
Tue Sep 09, 2014 2:06 pm
Forum: Beginners
Topic: Problem with crontab
Replies: 9
Views: 2377

Re: Problem with crontab

The script solution I posted above worked. Thanks to rpdom for explaining the userid in cron issue. I had not noticed the difference and that is likely what was wrong with my job. I will also include socialdefect's code to check and kill the process rather than sleep. I have a different issue now wi...
by tberry
Mon Sep 08, 2014 8:11 pm
Forum: Beginners
Topic: Problem with crontab
Replies: 9
Views: 2377

Re: Problem with crontab

I may have an answer and a solution. I Googled why it was a bad idea to run a cron job every minute and it appears that if your job doesn't finish in the one minute you allow, it will run the job again on top of itself. Cron apparently does not keep this from happening. Suggested solutions were to s...
by tberry
Mon Sep 08, 2014 7:18 pm
Forum: Beginners
Topic: Problem with crontab
Replies: 9
Views: 2377

Re: Problem with crontab

I have precisely the same problem as the OP and saw Joe Schmoe's comments in the thread linked earlier. I searched for his comments on how to run a script every minute without using a cron job but could not find them. @Joe Schmoe, could you link me to them , please? As I mentioned, I have the exact ...

Go to advanced search