Comments (10)
I can get this information. However, I think it would be helpful to still notify people if it has already been checked in. Maybe a You have already checked in
message?
from auto-southwest-check-in.
The main issue is that it continues to check in after successfully checking in the first time as I would expect the instance to exit with a successful response after the first successful check in.
from auto-southwest-check-in.
Are these messages happening in the same instance of the script (i.e. it didn’t restart)? It should exit right after it has checked in. How much time passes in between attempts?
from auto-southwest-check-in.
Same instance of the script and pretty much a few seconds in between
from auto-southwest-check-in.
This might be an issue running it with Docker and the restart policy you are giving the container. Are you using ––restart-policy=always
? I think the container exits and restarts which explains why it keeps checking in (Docker doesn’t clear logs on a restart).
If you want Docker to start on boot, I think you can still use the unless-stopped
or on-failure
restart policy without having this side effect. Let me know if this is the issue and I will update the README accordingly.
from auto-southwest-check-in.
I used the following command:
docker run -d --restart unless-stopped auto-southwest-check-in CONFIRMATION FIRST LAST
from auto-southwest-check-in.
Could you try it with the on-failed
restart policy and see if it has the same issue? And if that doesn’t work, can you try it without Docker to see if it is Docker or the script (No worries if you can’t)?
from auto-southwest-check-in.
You're right! I was using the wrong --restart
flag and --restart on-failure
solves the problem. Thanks!
from auto-southwest-check-in.
Great! I’ll add that to the README to prevent others from having this issue. Thanks for bringing it up
from auto-southwest-check-in.
Edited the title for clarity
from auto-southwest-check-in.
Related Issues (20)
- Doesn't handle flight changes HOT 9
- ValueError("invalid literal for int() with base 10: 'x,xxx'") - Flight price change with points error... HOT 5
- certificate verify failed: unable to get local issuer certificate HOT 6
- SSL Cert Error HOT 4
- Error setting name of account on first login HOT 9
- ARM7 Docker Support HOT 11
- Failed to log in with 429 HOT 28
- Failure Starting Webdriver HOT 3
- Ability to run multiple instances of the script HOT 10
- SSL Certificate Error HOT 2
- Check Fare Bug HOT 11
- RuntimeWarning: coroutine 'AddonManager.handle_lifecycle' was never awaited HOT 7
- Docker selenium issue? HOT 11
- Fare_Checker Issue? HOT 1
- Fare checker monitors wrong fares HOT 19
- Failed to Check-in HOT 6
- Add ability to have notification_urls per account HOT 10
- Webdriver timed out in container HOT 41
- Chromedriver appears to be a higher version (114) than chrome can update to (113.0.5672.127) HOT 2
- You Cannot reuse the ChromeOptions object HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-southwest-check-in.