add retry policy
This commit is contained in:
28
.env.example
Normal file
28
.env.example
Normal file
@@ -0,0 +1,28 @@
|
||||
# Discord Bot Configuration
|
||||
# -----------------------
|
||||
# Required: Your Discord bot token
|
||||
TOKEN=your_discord_bot_token_here
|
||||
|
||||
# API Configuration
|
||||
# -----------------------
|
||||
# Required: Password for admin API access
|
||||
PASSWORD=your_secure_password_here
|
||||
|
||||
# Web Server Settings
|
||||
# -----------------------
|
||||
# Port for the API server
|
||||
PORT=3000
|
||||
|
||||
# Scheduling
|
||||
# -----------------------
|
||||
# CRON schedule for when to post (default: every day at 9 AM)
|
||||
CRON_LEGICA=0 9 * * *
|
||||
# Timezone for the CRON job (e.g. 'Europe/Zagreb', 'America/New_York', etc.)
|
||||
TIMEZONE=utc
|
||||
|
||||
# Content Settings
|
||||
# -----------------------
|
||||
# Date format used in post titles
|
||||
LEGICA_DATE_FORMAT=D.M.YYYY
|
||||
# Number of hourly retry attempts if date check fails
|
||||
RETRY_ATTEMPTS=3
|
||||
Reference in New Issue
Block a user