Skip to content

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

  1. Log in to your server via SSH or use your hosting control panel (like cPanel or Plesk).
  2. Open the crontab for the user that runs the web server (usually www-data or your system user):
    bash
    crontab -e
  3. Add the following line to the end of the file (replace /path-to-your-project with the actual path):
    bash
    * * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
  4. 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).

Released under the Commercial License.