Skip to main content

Automation

d
Written by dhru soft
Updated over 3 months ago

Path: Settings > Automation

The automation module enables DHRU FUSION to perform key background tasks automatically, improving system efficiency and reducing manual workload. This includes sending notifications, managing invoices, monitoring stock, backing up data, and more.


Cron Job Requirement

To activate automation, you must set up a daily cron job.

Only one main cron job is needed:

https://yourdomain.com/includes/cron2.php

You may also create specific action-based cron jobs for more granular control.


Available Cron Actions

Reminder Notifications

Send last login, low credit, and credit validity alerts:

?action=reminder

Price Change Notification

Notify users of product/service price updates:

?action=pricechange

Invoice Automation

Send due invoice reminders and auto-cancel or delete overdue invoices:

?action=invoice

Security Checks

Run automatic script scanning and vulnerability checks:

?action=security

New Service Alerts

Notify users when a new service is added to the system:

?action=newservice

Supplier Price Updates

Alert resellers if supplier price changes:

?action=supplierpricechange


Cron Passcode

Set a cron passcode to protect cron job access from unauthorized requests.


Invoice Automation Settings

First Invoice Due Date – Send first reminder after X days.

Second Invoice Due Date – Send second reminder after X days.

Third Invoice Due Date – Send final reminder after X days.

Cancel Invoice Due Date – Automatically cancel unpaid invoices after X days.

Delete Invoice After Due – Permanently remove invoices after a specified period.


Notifications & Alerts

Client Group Expiry Reminder – Email reminder sent to users in expiring groups.

IMEI Service Summary – Daily summary sent to admin of order status and revenue.

Daily Sitemap Generate – Automatically generate and update your sitemap.

Low Stock Alert – Send alert when product stock reaches a defined threshold.

Last Login Alert – Notify users who haven’t logged in for X days.

Low Credit Reminder – Remind users with low credit balances.

Low Credit Reminder Notification Group – Limit low credit alerts to selected client groups.

Credit Validity Reminder – Notify users when their credit validity is about to expire.

Auto Ticket Close – Automatically close support tickets after X days of inactivity.

Reorder Level Notification – Email alert sent when product stock hits reorder level.

Quick Checkout Order Remove – Automatically remove quick checkout orders after X days.

Auto Delete Announcements – Remove announcements after X days (if enabled).

Auto Disconnect API – Disable API connections under certain conditions (e.g., inactivity).

IMEI New Service Available – Notify users when a new service is available manually or via API.

Currency Update – Automatically update exchange rates.

GEO Country Database Update – Keep GEO IP database up to date.

Price Change Notification – Mass notification sent on price change.

Remove Credit Card Detail – Automatically clear stored card data.

Auto Archive Old Orders – Archive older orders to maintain database performance.

Did this answer your question?