balena-io-experimental / pixel-buddy

3 stars 0 forks source link

Is cleanup.py supposed to be used? #11

Closed rahul-thakoor closed 2 years ago

rahul-thakoor commented 3 years ago

python: can't open file 'cleanup.py': [Errno 2] No such file or directory https://github.com/balena-io-playground/second-screen/blob/a6e550e369d130b66a104d145d1c76c5e102145e/flowdock/start.sh#L4

phil-d-wilson commented 2 years ago

Works on my device @rahul-thakoor

26.10.21 11:23:07 (+0000)  flowdock  cleaning up /data/my_data/EJU4urQImAxGfdqm_@vipulgupta2048_#memeservice 
26.10.21 11:23:07 (+0000)  flowdock  cleaning up /data/my_data/SnCm9n-XuI9cnWhm_@unknown_#memeservice 
26.10.21 11:23:07 (+0000)  flowdock  cleaning up /data/my_data/wk0vpKnS6AoKSOPC_@tmigone_#memeservice 
26.10.21 11:23:07 (+0000)  flowdock  cleaning up /data/my_data/R1b893WMSoamzTrZ_@phil-d-wilson_#memeservice 
26.10.21 11:23:07 (+0000)  flowdock  cleaning up /data/my_data/HFxFZ2QwrTEwyXf-_@myarmolinsky_#memeservice 
26.10.21 11:23:07 (+0000)  flowdock  cleaning up /data/my_data/roLbf6aMHJEGiwn7KukSOg_@anujdeshpande_#memeservice 
phil-d-wilson commented 2 years ago

Runs at start up: https://github.com/balena-io-playground/pixel-buddy/blob/c67dcb4a420a0c340bd5f2adb4eec6694d8b012e/flowdock/start.sh#L4

rahul-thakoor commented 2 years ago

@phil-d-wilson i don't see the file in the repo

seems like you added it to .gitignore

https://github.com/balena-io-playground/pixel-buddy/blob/c67dcb4a420a0c340bd5f2adb4eec6694d8b012e/.gitignore#L2

phil-d-wilson commented 2 years ago

@rahul-thakoor what? 😅 I'm confused, how is it running on people's devices then? Oh, unless it got added to .gitignore accidentally since hack week? I think the fleet is pinned to that release.

phil-d-wilson commented 2 years ago

Fixed. Thanks for the detective work Mr @rahul-thakoor :)