Coddingpro
Deprixa Plus - The Ultimate Courier & Logistics SaaS Platform

Deprixa Plus — Requirements & Installation · 2.4 Cron Job Setup

Critical: Cron Jobs Are Required

Without cron jobs, subscriptions won't renew, logs won't be purged, and update notifications won't appear. You must configure the cron entry below for the system to function correctly.

Add the following cron entry to your server. This single entry runs Laravel's task scheduler every minute, which then dispatches individual tasks at their configured intervals.

crontab Copy

* * * * * cd /path-to-project && php artisan schedule:run >> /dev/null 2>&1

Scheduled Tasks

TaskFrequencyWhat It Does
SaaS subscription checkDaily at 01:00Validates active subscriptions, enforces grace periods, and triggers renewal charges
Driver location purgeDaily at 02:00Removes stale GPS location records older than the configured retention period
Shipment history purgeWeekly (Monday 03:30)Archives and removes old shipment history entries to keep the database lean
Audit log purgeMonthly (1st at 04:00)Prunes audit log entries older than the configured retention window
Update checkTwice daily (08:00 & 20:00)Checks for new software versions and displays a notification in Settings if available
Plugin license checkWeekly (Monday 05:00)Validates installed plugin licenses against the marketplace
System integrityEvery 4 hoursVerifies critical file checksums, directory permissions, and storage symlink health

cPanel Setup

In cPanel, go to Cron Jobs (under Advanced). Set the interval to "Once Per Minute (* * * * *)" and paste the command:

bash Copy

cd /home/yourusername/public_html && php artisan schedule:run >> /dev/null 2>&1

VPS Setup

On a VPS, edit the crontab for the web server user:

bash Copy

sudo crontab -u www-data -e # Add this line at the bottom: * * * * * cd /var/www/deprixa-plus && php artisan schedule:run >> /dev/null 2>&1