Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

구글 앱스 스크립트(Google Apps Script) 외부에서 실행하기 #63

Open
utterances-bot opened this issue Mar 9, 2021 · 5 comments

Comments

@utterances-bot
Copy link

구글 앱스 스크립트(Google Apps Script) 외부에서 실행하기 | 44BITS

구글 앱스 스크립트를 사용하면 구글 드라이브나 G 스위트를 자동화할 수 있습니다. 이 글에서는 간단한 구글 앱스 스크립트를 작성하고, 이 스크립트를 구글 드라이브 외부 환경에서 실행하는 방법을 소개합니다.

https://www.44bits.io/ko/post/google-app-script-external-execution-by-ruby

Copy link

nKiNk commented Mar 9, 2021

안녕하세요. 좋은 글 감사드립니다. API는 아니지만 웹 앱 배포 관련 질문을 드려도 될까요?
구글 폴더의 파일들을 복사하는 스크립트를 웹 앱으로 deploy하고 다른 유저들이 timed trigger를 통해 실행을 시키도록 하려고 하는데 failure 만 발생하여 도움을 청합니다. 파일 복사 중에 시간이 초과되는 경우 자동으로 작업을 다시 실행하도록 트리거를 설정했는데, 트리거가 실행되면 바로 failure를 반환하고 종료되어 버립니다. 웹 앱에서 트리거를 설정하여 웹 앱 내의 함수를 다시 실행시키는 것이 불가능한 것일까요?

웹 앱은 executed as user accessing the web app으로, Anyone with Google account가 접근할 수 있도록 설정되어 있습니다.
트리거 실행만을 테스트하기 위해 만든 코드는 여기( https://stackoverflow.com/questions/66478838/ )에 있습니다. 감사합니다.

@nacyot
Copy link
Contributor

nacyot commented Mar 10, 2021

nKiNk // 커뮤니티 쪽에 질문해보면 도움을 받을 수 있지 않을까요? 제가 해당 부분에 대해서는 테스트 해본 게 없어서 큰 도움은 안 될 듯 합니다.

https://groups.google.com/g/google-apps-script-community

Copy link

nKiNk commented Mar 10, 2021

네. 감사합니다.

Copy link

nKiNk commented Mar 10, 2021

감사합니다. ㅎㅎ 덕분에 2주 동안 씨름했던 오류가 ES6 때문에 나오는 거라는 걸 확인할 수 있었습니다. https://issuetracker.google.com/issues/150756612 진짜 허무하네요. ㅠ

@nacyot
Copy link
Contributor

nacyot commented Mar 10, 2021

nKiNk // 제가 크게 도움을 드린 건 없는 듯 하지만, 해결 하셨다니 다행입니다 🎉🎉🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants