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

sheduler #14

Merged
merged 6 commits into from
Apr 10, 2024
Merged

sheduler #14

merged 6 commits into from
Apr 10, 2024

Conversation

lexxai
Copy link
Collaborator

@lexxai lexxai commented Apr 10, 2024

sheduler.py -h

usage: sheduler.py [-h] [--loop] [--delay DELAY] [-t TELEGRAM_PERIOD] [-l LIMIT_PERIOD]

Infinite loop of service app events

options:
  -h, --help            show this help message and exit
  --loop
  --delay DELAY         loop delay in seconds, default 1 sec
  -t TELEGRAM_PERIOD, --telegram_period TELEGRAM_PERIOD
                        Telegram bot pool period in seconds, default 2 sec
  -l LIMIT_PERIOD, --limit_period LIMIT_PERIOD
                        Limit Check period in seconds, default 300 sec
                        

sheduler.py" --loop -l 15

Loop... 1
Loop... 1
- handler_telegram_pool
last_update_id=286860364
Loop... 1
Loop... 1
- handler_telegram_pool
last_update_id=286860364
Loop... 1
Loop... 1
- handler_telegram_pool
last_update_id=286860364
Loop... 1
Loop... 1
- handler_telegram_pool
last_update_id=286860364
Loop... 1
Loop... 1
- handler_telegram_pool
last_update_id=286860364
Loop... 1
Loop... 1
- handler_telegram_pool
last_update_id=286860364
- handler_limit_check
Loop... 1
Loop... 1
- handler_telegram_pool
last_update_id=286860364
Loop... 1
Loop... 1
*** Terminated by user pressing: Ctrl-C

image

@artem-dorofeev
Copy link
Collaborator

ok

@lexxai
Copy link
Collaborator Author

lexxai commented Apr 10, 2024

ok

А appove ?

Copy link
Collaborator

@artem-dorofeev artem-dorofeev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@artem-dorofeev artem-dorofeev merged commit 087709e into dev Apr 10, 2024
3 checks passed
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