Skip to content

Conversation

@Incognito-Coder
Copy link
Collaborator

The Start and Stop functions in AutoDeleteDepletedClientsJob were creating a new cron instance, which was redundant as the application already has a global cron scheduler. This commit removes these functions and their usage, and the job is now added to the main cron scheduler.

This commit introduces a new cron job that automatically deletes clients who have exhausted their traffic or whose subscription has expired.

The feature is configurable via a new setting in the panel, allowing administrators to specify the number of days after depletion/expiration when a client should be removed.
- Change auto delete setting from minutes to days.
…eDepletedClientsJob

The Start and Stop functions in AutoDeleteDepletedClientsJob were creating a new cron instance, which was redundant as the application already has a global cron scheduler. This commit removes these functions and their usage, and the job is now added to the main cron scheduler.
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