Cron Job Setup
For Recurlix to function correctly, especially for subscription renewals, email notifications, and webhook processing, you must configure a Cron Job on your server.
Laravel Task Scheduler
Recurlix uses the Laravel Task Scheduler to run background tasks. You only need to add a single cron entry to your server.
Adding the Cron Entry
- Log in to your server via SSH or use your hosting control panel (like cPanel or Plesk).
- Open the crontab for the user that runs the web server (usually
www-dataor your system user):bashcrontab -e - Add the following line to the end of the file (replace
/path-to-your-projectwith the actual path):bash* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1 - Save and exit.
What does this do?
This cron job runs every minute and triggers the Recurlix scheduler. The scheduler then decides which tasks need to run (e.g., checking for expiring subscriptions, sending reminder emails).