Timeline for Motion on_movie_end run a python script and bash script
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 19, 2016 at 22:24 | answer | added | Chumboski | timeline score: 2 | |
Oct 19, 2016 at 21:30 | comment | added | Shreyas Murali | A crude workaround would be to rename the folder based on the time stamp and recreate another in its place. the original folder (which was renamed) can be deleted at leisure after said post processing is done (possibly through cron jobs as @Steve suggested) . This is assuming the objective is to get manageable size videos and there is atleast sufficient available free disk space while the different tasks are running. | |
Oct 19, 2016 at 20:26 | comment | added | Steve Robillard | Why not add the delete step to the end of the Python script - so it completes the transfer first? Or run the bash script via cron and change it to delete files older than an hour (something longer than it takes to create and transfer the file). | |
Oct 19, 2016 at 20:24 | history | asked | Chumboski | CC BY-SA 3.0 |