Cat Feeder  1.0.0
The Cat feeder project
Loading...
Searching...
No Matches
backend.src.libs.crons.crons_constants Namespace Reference

Variables

Disp IDISP = initialise_logger("Crons Constants", False)
 
 TOML = TOMLLoader()
 
 CLEAN_TOKENS = TOML.get_toml_variable("Crons", "clean_tokens", True)
 
 CLEAN_TOKENS_INTERVAL
 
 ENABLE_TEST_CRONS
 
 TEST_CRONS_INTERVAL
 
 CHECK_ACTIONS_INTERVAL
 
 CLEAN_VERIFICATION
 
 CLEAN_VERIFICATION_INTERVAL
 
 RENEW_OATH_TOKENS
 
 RENEW_OATH_TOKENS_INTERVAL
 
 RESET_FOOD_COUNTERS_INTERVAL
 

Detailed Description

# +==== BEGIN CatFeeder =================+
# LOGO:
# ..............(..../\
# ...............)..(.')
# ..............(../..)
# ...............\‍(__)|
# Inspired by Joan Stark
# source https://www.asciiart.eu/
# animals/cats
# /STOP
# PROJECT: CatFeeder
# FILE: crons_constants.py
# CREATION DATE: 19-11-2025
# LAST Modified: 18:43:54 31-01-2026
# DESCRIPTION:
# This is the backend server in charge of making the actual website work.
# /STOP
# COPYRIGHT: (c) Cat Feeder
# PURPOSE: The constants used for the cron library.
# // AR
# +==== END CatFeeder =================+

Variable Documentation

◆ CHECK_ACTIONS_INTERVAL

backend.src.libs.crons.crons_constants.CHECK_ACTIONS_INTERVAL
Initial value:
1= int(TOML.get_toml_variable(
2 "Crons", "check_actions_interval", 300
3))

Definition at line 46 of file crons_constants.py.

◆ CLEAN_TOKENS

backend.src.libs.crons.crons_constants.CLEAN_TOKENS = TOML.get_toml_variable("Crons", "clean_tokens", True)

Definition at line 36 of file crons_constants.py.

◆ CLEAN_TOKENS_INTERVAL

backend.src.libs.crons.crons_constants.CLEAN_TOKENS_INTERVAL
Initial value:
1= int(TOML.get_toml_variable(
2 "Crons", "clean_tokens_interval", 1800
3))

Definition at line 37 of file crons_constants.py.

◆ CLEAN_VERIFICATION

backend.src.libs.crons.crons_constants.CLEAN_VERIFICATION
Initial value:
1= TOML.get_toml_variable(
2 "Crons", "clean_verification", True
3)

Definition at line 49 of file crons_constants.py.

◆ CLEAN_VERIFICATION_INTERVAL

backend.src.libs.crons.crons_constants.CLEAN_VERIFICATION_INTERVAL
Initial value:
1= TOML.get_toml_variable(
2 "Crons", "clean_verification_interval", 900
3)

Definition at line 52 of file crons_constants.py.

◆ ENABLE_TEST_CRONS

backend.src.libs.crons.crons_constants.ENABLE_TEST_CRONS
Initial value:
1= TOML.get_toml_variable(
2 "Crons", "enable_test_crons", False
3)

Definition at line 40 of file crons_constants.py.

◆ IDISP

Disp backend.src.libs.crons.crons_constants.IDISP = initialise_logger("Crons Constants", False)

Definition at line 29 of file crons_constants.py.

◆ RENEW_OATH_TOKENS

backend.src.libs.crons.crons_constants.RENEW_OATH_TOKENS
Initial value:
1= TOML.get_toml_variable(
2 "Crons", "renew_oath_tokens", True
3)

Definition at line 55 of file crons_constants.py.

◆ RENEW_OATH_TOKENS_INTERVAL

backend.src.libs.crons.crons_constants.RENEW_OATH_TOKENS_INTERVAL
Initial value:
1= TOML.get_toml_variable(
2 "Crons", "renew_oath_tokens_interval", 1800
3)

Definition at line 58 of file crons_constants.py.

◆ RESET_FOOD_COUNTERS_INTERVAL

backend.src.libs.crons.crons_constants.RESET_FOOD_COUNTERS_INTERVAL
Initial value:
1= TOML.get_toml_variable(
2 "Crons", "reset_food_counters_interval", 86400
3)

Definition at line 61 of file crons_constants.py.

◆ TEST_CRONS_INTERVAL

backend.src.libs.crons.crons_constants.TEST_CRONS_INTERVAL
Initial value:
1= int(TOML.get_toml_variable(
2 "Crons", "test_cron_interval", 200
3))

Definition at line 43 of file crons_constants.py.

◆ TOML

backend.src.libs.crons.crons_constants.TOML = TOMLLoader()

Definition at line 32 of file crons_constants.py.