0

It's working the whole day but during the night it stops at 23:59

Somebody knows why?

My crontab looks like

30 19 * * * ./raspiLapseCam.py & 
30 06 * * * sudo pkill python 
45 06 * * * ./raspiLapseCam2.py & 
00 19 * * * sudo pkill python

And the script can be found here: https://bitbucket.org/fotosyn/fotosynlabs/src/0a5f212958637ce20f502fc579fc28338b33d87e/RaspiLapseCam/raspiLapseCam.py

  • 2
    What is working, and stops working? The camera? The hardware? How do you know it stopped working? – Bex Mar 27 '15 at 12:50
  • to work taking pictures (timelapse - each minute). It' due to work from 7pm to 7am. Each day it is taking pic from 7pm and stop at 23:59. ??? – user3315730 Mar 27 '15 at 19:06
  • Ok. But how do you know it stops working at 23:59? – Bex Mar 28 '15 at 11:31
  • I get pictures every minutes from 7 PM andt it's scheduled to go on up to 7AM. Date and time are shown on the picture. Without any other command in crontab...There is no picture after 23:59 – user3315730 Mar 28 '15 at 22:23
  • Would you please post the crontab line and any script you use to realize this? – Bex Mar 29 '15 at 10:50
1

It doesn't stop working. The script will save the files into a folder named after what time it started.

See line 67:

folderToSave = "timelapse_" + str(initYear) + str(initMonth) + str(initDate) + str(initHour) + str(initMins)

That means that the script does not stop working - you just have an offset in the folders.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.