전체 글

몇 달만 지나도 가물가물해서 만든 곳
· Linux/Python
리소스. 1. PushOver (스마트폰 알림기능) https://pushover.net/ Pushover: Simple Notifications for Android, iOS, and Desktop Powered by Pushover With our Android, iPhone/iPad, and Desktop Browser clients, you can receive unlimited push notifications on all of your devices from dozens of websites, services, and applications that already integrate with Pushover. Just supply your P pushover.net 2. Python을 이용한 r..
* * * * *  /bin/beHappy.sh┬ ┬ ┬ ┬ ┬│ │ │ │ ││ │ │ │ ││ │ │ │ └───────── 요일 (0 - 6) (0:일요일, 1:월요일, 2:화요일, 3:수요일, 4:목요일, 5:금요일, 6:토요일)│ │ │ └───────── 월 (1 - 12)│ │ └───────── 일 (1 - 31)│ └───────── 시 (0 - 23)└───────── 분 (0 - 59) ┌───────────────────────────────────────────────────┐│ * * * * *            │ 1분마다 실행                                        ├───────────────────────────────────────────..
WOL 여러 프로그램이 있지만 그냥 command방식으로 찾아보니 있다!!! 링크 https://www.depicus.com/wake-on-lan/wake-on-lan-cmd 간단하고 괜찮은것 같습니다. wolcmd.exe [mac address] [ip address] [subnet mask] [port number] wolcmd.exe 009027a324fe 192.168.0.150 255.255.255.0 8900
· Linux/MySQL
현재날짜(시간) 기준으로 한시간 검색 select * from tableNamewhere create_date > DATE_ADD(now(), INTERVAL -1 hour); -1 hour 최근 한시간-1 day 최근 하루-1 month 최근 한달 지정날짜 검색select * from tableNamewhere between '2018-10-01' and '2018-10-23'
· Linux/Cloud
/var/www/html/nextcloude/data/{user}/uploads파일 업로드시 정크파일이 그대로 유지 되면서 용량만 차지하고 있음대략 40기가정도 있는걸 확인일단 지우고왜 그런지 파악중nextcloud 파일 업로드시 10MB분할해서 업로드시 하는 정크파일인것 같음해결은아래와 같이 Record를 추가해주면 해결되는것 같은데지켜봐야될것 같음일단 당장은 되는것 같음 https://help.nextcloud.com/t/nextcloud-13-chunking-upload-not-working/28755/6 For information, as a workaround I increased the max_chunk_size directly into the database (to 500Mb files):I..
문제점윈도우 환경에서 삼바공유폴더에 실행파일을 복사할경우 rwx는 execute권한이 없는 경우가 발생쓰기/수정/삭제는 가능하지만 실행권한이 없어서 바로 실행 불가능 해결방법smb.conf파일수정 [global] acl allow execute alwyas = True 원인?