Neue Produkte

DoliCronHost

mp1246d20251128160359

Neu

Automate your scheduled tasks without server access. Reliable external service (cron-job.org). API for third-party modules. Perfect for shared hosting. SMS reminders, synchronizations, auto reports.

50,00 €

  • Autor Massaoud Bouzenad
  • Modulversion 1.1.0
  • Veröffentlichungsdatum 28.11.2025
  • Zugriff auf Updates und Downloads 2 Jahre
  • So kontaktieren Sie den Support support@dzprod.net
  • Kompatibilität Dolibarr V17+   -   PHP>= 7.3
  • Letztes Update 04.12.2025 09:11

Mehr Infos

DoliCronHost: Serverless Scheduled Tasks Infrastructure

DoliCronHost is an essential infrastructure module designed to ensure the reliable and timely execution of scheduled tasks (CRON) within Dolibarr, even in the most restrictive hosting environments.

⭐ Problem Addressed

Dolibarr's native "Scheduled Jobs" module requires manual server-side configuration (crontab, Task Scheduler). This configuration is often inaccessible or too complex for users in:

  • Shared hosting environments that do not allow CRON access.
  • Managed cloud environments without direct system access.
  • Instances requiring maximum reliability for critical tasks.

🛠️ Solution & Key Features

DoliCronHost integrates with the reliable external service cron-job.org to offload the triggering of tasks. It is a technical component for developers, not an end-user business module.

Feature Description
Simple Developer API Create, modify, and manage CRON jobs from your PHP code, without touching the server. API is documented with code examples.
Automatic Offloading Uses the cron-job.org API to schedule calls to third-party module webhooks, ensuring tasks launch without dependence on the local server.
Monitoring & Logs Admin interface to list all active jobs, view their status on cron-job.org, and consult execution history (HTTP code, duration, errors).
Enhanced Security CRON request authentication via Secret Key to ensure that only calls originating from cron-job.org are processed. API Keys are encrypted in the database.
Multi-Company Support Native support for multi-entity management with complete job isolation per company.

💡 Concrete Use Case: DoliSMS - Automatic Appointment Reminders

The DoliSMS module uses DoliCronHost to automatically schedule SMS reminders 24 hours before appointments:

Scenario:

  1. An appointment is created in the Dolibarr agenda with a mobile contact.
  2. The user adds "SMS Reminder 24h before."
  3. DoliSMS calls the DoliCronHost API to create a scheduled job OR user create it manually.
  4. 24 hours before the appointment, cron-job.org triggers the DoliSMS webhook.
  5. The SMS is automatically sent with appointment details.

Result: Zero forgotten appointments, better attendance rate, improved customer satisfaction.

👨 💻 For Module Developers

DoliCronHost exposes a simple PHP API to create scheduled tasks from your module:

Then create your webhook (/custom/yourmodule/webhook.php) to handle the execution:

📚 documentation with detailed examples included in the module available.

🎯 Who is this for?

Module Developers Easily integrate reliable scheduling features into your modules (reminders, synchronizations, periodic reports).
Dolibarr Administrators Benefit from scheduled tasks without server access. Centralized monitoring of active jobs.
Restrictive Hosting Providers Ideal solution for shared hosting, managed cloud, or environments without crontab access.

⚠️ Prerequisite

Account required on cron-job.org to obtain the necessary API Key for integration.

✅ 100% Free Service

  • Unlimited: Number of jobs, executions, and requests without restriction.
  • Minimum frequency: 1 minute between each execution.
  • History of the last 25 executions per job.
  • No credit card required, no subscription.
  • Fair use policy

💚 cron-job.org is maintained by volunteers and funded by voluntary donations. Fair-use recommended.

🚀 Installation & Configuration

  1. Install DoliCronHost from the Dolistore.
  2. Create an account on cron-job.org and generate an API Key.
  3. Configure the API Key in DoliCronHost (Menu: Tools → DoliCronHost → Configuration).
  4. Test the connection via the dedicated button.
  5. Integrate it into your modules or create jobs manually via the interface.

Compatible Dolibarr 17.0+ | Complete technical documentation | Support via massaoud@dzprod.net


DoliCronHost - Powered by DZProd Framework
"Reliable Automation without Server Configuration"