Skip to content

Conversation

@jensjacobt
Copy link

Add backoff: To avoid exceptions from due to ?timeouts? from the Google Calendar API.

Add login with password: The new flag "--login" takes the username from Lectio. If this flag is set then the user is asked for his/her password in the typical command-line way.

Add cookie handling: Upon succesful login the cookie is save to file. The calendar can then be updated without the "--login" flag until the Lectio session expires. The "--keepalive" flag is designed to be run such that session does not expire. It sufficient to run the script with "--keepalive" every 50 minutes, however, the session will expire every night.

@jensjacobt
Copy link
Author

Also updated for changes to the Lectio header section.

@Hanse00
Copy link
Owner

Hanse00 commented May 28, 2019

As I don't have a lectio user anymore, I'm unable to test if any of this will work right. @Sobuno any chance you could try it out for me?

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

Successfully merging this pull request may close these issues.

2 participants