This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:raspberry:picam:scripts:copyjob [2017/11/29 16:59] – lunetikk | linux:raspberry:picam:scripts:copyjob [2019/01/09 18:53] (current) – lunetikk | ||
---|---|---|---|
Line 36: | Line 36: | ||
</ | </ | ||
- | Make sure you use < | + | Make sure you use < |
Create a cronjob for it by inserting the following line to the end in< | Create a cronjob for it by inserting the following line to the end in< | ||
The job will be executed everytime the clock hits 0 minutes (for example 1:00pm 2.00am...) | The job will be executed everytime the clock hits 0 minutes (for example 1:00pm 2.00am...) | ||
Line 46: | Line 46: | ||
find $BASEPATH -name " | find $BASEPATH -name " | ||
</ | </ | ||
+ | |||
+ | Like this: | ||
+ | |||
+ | <code bash> | ||
+ | find $BASEPATH -name " | ||
+ | sleep 10 | ||
+ | find $BASEPATH -name " | ||
+ | sleep 10 | ||
+ | |||
+ | find $COPYPATH -name " | ||
+ | sleep 10 | ||
+ | find $COPYPATH -name " | ||
+ | sleep 10 | ||
+ | </ | ||
\\ | \\ | ||
\\ | \\ | ||
~~DISCUSSION: | ~~DISCUSSION: |