# \#Cron

**URL:** https://www.dolibarr.org/forum/tag/cron/48.md

[Latest](https://www.dolibarr.org/forum/latest.md) · [Categories](https://www.dolibarr.org/forum/categories.md) · [Tags](https://www.dolibarr.org/forum/tags.md)

---

## [Help with scheduled jobs!](https://www.dolibarr.org/forum/t/help-with-scheduled-jobs/19982)

<div class="topic-metadata">

**Author:** [@sac](https://www.dolibarr.org/forum/u/sac)\
**Replies:** 13\
**Last updated:** [September 22, 2025, 2:44pm UTC](https://www.dolibarr.org/forum/t/help-with-scheduled-jobs/19982 "2025-09-22T14:44:20Z")

</div>

Can someone provide a proper documentation for setting up scheduled jobs in Dolibarr. It has not been documented anywhere and is very confusing with the need to call the script externally. I have set it up once success…

---

## [Possible? Automatically processed invoices using customer saved payment for monthly service](https://www.dolibarr.org/forum/t/possible-automatically-processed-invoices-using-customer-saved-payment-for-monthly-service/20270)

<div class="topic-metadata">

**Author:** [@kevinmccarthy](https://www.dolibarr.org/forum/u/kevinmccarthy)\
**Replies:** 2\
**Last updated:** [February 18, 2021, 9:10pm UTC](https://www.dolibarr.org/forum/t/possible-automatically-processed-invoices-using-customer-saved-payment-for-monthly-service/20270 "2021-02-18T21:10:17Z")

</div>

I’m getting used to Dolibarr but I have a product I’m already selling and hoping to move off QuickBooks for payment processing, as QuickBooks manages the actual processing of the monthly invoice (as a “Sales Receipt”) bu…

---

## [How to execute script](https://www.dolibarr.org/forum/t/how-to-execute-script/18749)

<div class="topic-metadata">

**Author:** [@jimhtwong](https://www.dolibarr.org/forum/u/jimhtwong)\
**Replies:** 15\
**Last updated:** [August 16, 2024, 9:28am UTC](https://www.dolibarr.org/forum/t/how-to-execute-script/18749 "2024-08-16T09:28:49Z")

</div>

We found that they are some scripts useful - email\_expire\_services\_to\_representatives.php Can we can use it in scheduled jobs?

---

## [Currency rate autoupdate](https://www.dolibarr.org/forum/t/currency-rate-autoupdate/19367)

<div class="topic-metadata">

**Author:** [@Hamid](https://www.dolibarr.org/forum/u/Hamid)\
**Replies:** 13\
**Last updated:** [January 30, 2024, 5:39pm UTC](https://www.dolibarr.org/forum/t/currency-rate-autoupdate/19367 "2024-01-30T17:39:11Z")

</div>

Good morning, I have a number of currencies, in my Multi-Currency module, of Dollibar ver. 12.0.1, used for purchases and sales alike; the base currency is Euro and would like to have the rates automatically updated or …

---

## [Can Dolibarr handle 10 users daily operations?](https://www.dolibarr.org/forum/t/can-dolibarr-handle-10-users-daily-operations/20755)

<div class="topic-metadata">

**Author:** [@Madvan](https://www.dolibarr.org/forum/u/Madvan)\
**Replies:** 6\
**Last updated:** [December 8, 2023, 2:38pm UTC](https://www.dolibarr.org/forum/t/can-dolibarr-handle-10-users-daily-operations/20755 "2023-12-08T14:38:41Z")

</div>

Hi 1- can dolibarr handle operation of 10 users? 2- if yes, whats the best architecture? What type of db should be considered? 3- my intention is to use the company server as a host with one db and create an internal …

---

## [My CRON setup considerations in a container](https://www.dolibarr.org/forum/t/my-cron-setup-considerations-in-a-container/24396)

<div class="topic-metadata">

**Author:** [@jonbendtsen](https://www.dolibarr.org/forum/u/jonbendtsen)\
**Replies:** 0\
**Last updated:** [October 7, 2023, 1:30pm UTC](https://www.dolibarr.org/forum/t/my-cron-setup-considerations-in-a-container/24396 "2023-10-07T13:30:49Z")

</div>

Hi Here are my CRON setup considerations in a container should anyone end up with the same need. Summary: on host run cronjob that starts a job inside the container that uses wget to fetch the correct url from localhos…

---

## [Cron Job to export database tables on server CSV](https://www.dolibarr.org/forum/t/cron-job-to-export-database-tables-on-server-csv/17584)

<div class="topic-metadata">

**Author:** [@vmamet](https://www.dolibarr.org/forum/u/vmamet)\
**Replies:** 1\
**Last updated:** [September 14, 2023, 7:21pm UTC](https://www.dolibarr.org/forum/t/cron-job-to-export-database-tables-on-server-csv/17584 "2023-09-14T19:21:19Z")

</div>

Hi, Is there a way to setup a schedule job to generate .csv files containing tables from database ? The file would need to be saved in a folder on the server and imported into google sheet -\> data studio for customised…

---

## [Scheduled Jobs not running automatically](https://www.dolibarr.org/forum/t/scheduled-jobs-not-running-automatically/18422)

<div class="topic-metadata">

**Author:** [@badkneecap](https://www.dolibarr.org/forum/u/badkneecap)\
**Replies:** 13\
**Last updated:** [August 5, 2023, 6:33pm UTC](https://www.dolibarr.org/forum/t/scheduled-jobs-not-running-automatically/18422 "2023-08-05T18:33:46Z")

</div>

I am currently on version 8.0.0. I enabled CRON jobs in the module setup and can see the default “Scheduled Jobs” in the Admin Tools section. I created a new job and ran it manually. Everything worked as expected. Ho…

---

## [Executing php file to send mail](https://www.dolibarr.org/forum/t/executing-php-file-to-send-mail/20759)

<div class="topic-metadata">

**Author:** [@milenmk](https://www.dolibarr.org/forum/u/milenmk)\
**Replies:** 5\
**Last updated:** [July 29, 2023, 5:44am UTC](https://www.dolibarr.org/forum/t/executing-php-file-to-send-mail/20759 "2023-07-29T05:44:37Z")

</div>

Hello. I need to send a custom made email using corn job. Manual activation of the file is ok and the mail is sent. Question is, how to set the cronjob in Dolibarr? I have set Shell command and tried 2 things: First: …

---

## [Product not to sell if stock = 0](https://www.dolibarr.org/forum/t/product-not-to-sell-if-stock-0/17319)

<div class="topic-metadata">

**Author:** [@nazeer](https://www.dolibarr.org/forum/u/nazeer)\
**Replies:** 2\
**Last updated:** [March 30, 2023, 4:59pm UTC](https://www.dolibarr.org/forum/t/product-not-to-sell-if-stock-0/17319 "2023-03-30T16:59:53Z")

</div>

Hello team, I am having this problem so long but its becoming critical. Currently - if stock = 0, product to sell still can select, since I have setup module to add product if have stock its ok. But now the issue is I…

---

## [Sending files per e-mail with cronjobs](https://www.dolibarr.org/forum/t/sending-files-per-e-mail-with-cronjobs/21677)

<div class="topic-metadata">

**Author:** [@msayyed](https://www.dolibarr.org/forum/u/msayyed)\
**Replies:** 1\
**Last updated:** [January 3, 2023, 7:51pm UTC](https://www.dolibarr.org/forum/t/sending-files-per-e-mail-with-cronjobs/21677 "2023-01-03T19:51:40Z")

</div>

Hi, I made a cronjob for sending e-mails with attachements but there is a problem because I have an attachment icon without file in it, how can I solve this problem.

---

## [Event reminders by email was not enabled into Agenda module setup](https://www.dolibarr.org/forum/t/event-reminders-by-email-was-not-enabled-into-agenda-module-setup/19058)

<div class="topic-metadata">

**Author:** [@Gayiza](https://www.dolibarr.org/forum/u/Gayiza)\
**Replies:** 1\
**Last updated:** [January 3, 2023, 11:30am UTC](https://www.dolibarr.org/forum/t/event-reminders-by-email-was-not-enabled-into-agenda-module-setup/19058 "2023-01-03T11:30:16Z")

</div>

Hi, I get this error message “Event reminders by email was not enabled into Agenda module setup” when I run a scheduled cron job. However, on the Events/Agenda Module I do not see an option to setup email reminders.

---

## [Recurring Billing](https://www.dolibarr.org/forum/t/recurring-billing/15535)

<div class="topic-metadata">

**Author:** [@Stan](https://www.dolibarr.org/forum/u/Stan)\
**Replies:** 7\
**Last updated:** [May 5, 2017, 4:55pm UTC](https://www.dolibarr.org/forum/t/recurring-billing/15535 "2017-05-05T16:55:00Z")

</div>

Hi, I am running 5.0.1 and wanted to know if there was any way to create reminders or something so we can see monthly and yearly recurring billing. We have customers that we need to bill once a year, monthly, and at th…

---

## [Customize Forms - Your business needs this!](https://www.dolibarr.org/forum/t/customize-forms-your-business-needs-this/17666)

<div class="topic-metadata">

**Author:** [@paulorcdo](https://www.dolibarr.org/forum/u/paulorcdo)\
**Replies:** 4\
**Last updated:** [July 19, 2022, 11:07pm UTC](https://www.dolibarr.org/forum/t/customize-forms-your-business-needs-this/17666 "2022-07-19T23:07:55Z")

</div>

Dear, I am pleased to announce the publication of the Customize Forms module. You do not know how much your business needs from this module. Watch the video and see how you can improve the Dolibarr interface for your u…

---

## [Scheduled job management setup with sh file?](https://www.dolibarr.org/forum/t/scheduled-job-management-setup-with-sh-file/22192)

<div class="topic-metadata">

**Author:** [@963](https://www.dolibarr.org/forum/u/963)\
**Replies:** 0\
**Last updated:** [April 17, 2022, 12:37pm UTC](https://www.dolibarr.org/forum/t/scheduled-job-management-setup-with-sh-file/22192 "2022-04-17T12:37:35Z")

</div>

Hi I’d like run sh file with “Scheduled job management” (#!/bin/sh) Possible? What? 1, New job \>\> OK 2, Shell command \>\> OK /pathtoscript/scripts/myscript.sh \[secretkey\] \[user \[cronjobid\] 3, Run job \> No error me…

---

## [Email notification for agenda actions](https://www.dolibarr.org/forum/t/email-notification-for-agenda-actions/9904)

<div class="topic-metadata">

**Author:** [@saxa](https://www.dolibarr.org/forum/u/saxa)\
**Replies:** 3\
**Last updated:** [December 2, 2021, 10:50am UTC](https://www.dolibarr.org/forum/t/email-notification-for-agenda-actions/9904 "2021-12-02T10:50:48Z")

</div>

Hi , is there a way to have an e-mail sent for some action created in the agenda ? Rgds Saxa

---

## [Automatic unpaid invoice notification - email](https://www.dolibarr.org/forum/t/automatic-unpaid-invoice-notification-email/21460)

<div class="topic-metadata">

**Author:** [@steph\_inventv](https://www.dolibarr.org/forum/u/steph_inventv)\
**Replies:** 2\
**Last updated:** [November 21, 2021, 9:40pm UTC](https://www.dolibarr.org/forum/t/automatic-unpaid-invoice-notification-email/21460 "2021-11-21T21:40:53Z")

</div>

Hello, I have activated a cron job to run the automatic email notification that is sent for unpaid invoices. In the example proposed by Dolibarr in the latest version 14.0.3, it is indicated " Send an emails when the u…

---

## [Automatic sending of cron generated recurring invoices](https://www.dolibarr.org/forum/t/automatic-sending-of-cron-generated-recurring-invoices/20016)

<div class="topic-metadata">

**Author:** [@unrat](https://www.dolibarr.org/forum/u/unrat)\
**Replies:** 5\
**Last updated:** [November 21, 2021, 9:29pm UTC](https://www.dolibarr.org/forum/t/automatic-sending-of-cron-generated-recurring-invoices/20016 "2021-11-21T21:29:19Z")

</div>

Hello Forum, I am using Dolibarr 12.0.4 and want to get sent recurring invoices generated and approved automatically by cron job to the thirdparty invoice recipient. So, I searched and found the module sendrecurringinv…

---

## [Error for cron jobs](https://www.dolibarr.org/forum/t/error-for-cron-jobs/21154)

<div class="topic-metadata">

**Author:** [@milenmk](https://www.dolibarr.org/forum/u/milenmk)\
**Replies:** 4\
**Last updated:** [September 6, 2021, 2:52pm UTC](https://www.dolibarr.org/forum/t/error-for-cron-jobs/21154 "2021-09-06T14:52:58Z")

</div>

Hello. I am trying to setup a cron job for dolibarr and get some odd error. I have few dev installs with working crone. For a production, I have set a cron in CPanel to execute cron\_run\_jobs.php every 5 minutes. Filepa…

---

## [Custom Backup Naming](https://www.dolibarr.org/forum/t/custom-backup-naming/20339)

<div class="topic-metadata">

**Author:** [@dh88uk](https://www.dolibarr.org/forum/u/dh88uk)\
**Replies:** 2\
**Last updated:** [April 3, 2021, 9:09am UTC](https://www.dolibarr.org/forum/t/custom-backup-naming/20339 "2021-04-03T09:09:04Z")

</div>

Hello, I am wondering if there is a way to change the default naming of the backup file when using the web page backup feature. I would like it to be dolibarr-year-month-day. Sure, i can rename the file after downloadi…

---

## [Cron problem 12.0.4](https://www.dolibarr.org/forum/t/cron-problem-12-0-4/20127)

<div class="topic-metadata">

**Author:** [@riker](https://www.dolibarr.org/forum/u/riker)\
**Replies:** 4\
**Last updated:** [January 21, 2021, 10:14pm UTC](https://www.dolibarr.org/forum/t/cron-problem-12-0-4/20127 "2021-01-21T22:14:41Z")

</div>

Hi there! Does anybody know why running “/usr/bin/php /opt/dolibarr/scripts/cron/cron\_run\_jobs.php admin” (copypaste from Dolibarr settings page) leads to “Dolibarr setup is not yet complete. install/index.php Click h…

---

## [Unable to setup cron job for recurring invoice](https://www.dolibarr.org/forum/t/unable-to-setup-cron-job-for-recurring-invoice/20108)

<div class="topic-metadata">

**Author:** [@smhasan11](https://www.dolibarr.org/forum/u/smhasan11)\
**Replies:** 1\
**Last updated:** [January 18, 2021, 12:26am UTC](https://www.dolibarr.org/forum/t/unable-to-setup-cron-job-for-recurring-invoice/20108 "2021-01-18T00:26:10Z")

</div>

Hi, I’ve been trying to setup schedule jobs for recurring invoice. I’m using 12.0.3 I’m in windows environment & using apache2.4 I’ve checked the post: https://www.dolibarr.org/forum/t/help-with-scheduled-jobs/19982/…

---

## [Scheduled jobs not running on Dolibarr 12.0.3](https://www.dolibarr.org/forum/t/scheduled-jobs-not-running-on-dolibarr-12-0-3/19752)

<div class="topic-metadata">

**Author:** [@sac](https://www.dolibarr.org/forum/u/sac)\
**Replies:** 18\
**Last updated:** [January 5, 2021, 7:32pm UTC](https://www.dolibarr.org/forum/t/scheduled-jobs-not-running-on-dolibarr-12-0-3/19752 "2021-01-05T19:32:58Z")

</div>

I enabled Local Database Backup which is a built in scheduled job in Dolibarr 12.0.3 which is disabled at the time of installation. I am manually able to click run and the job successfully runs and saves an SQL dump. Ho…

---

## [Automatic emailing for template invoices](https://www.dolibarr.org/forum/t/automatic-emailing-for-template-invoices/19838)

<div class="topic-metadata">

**Author:** [@StefanVanZyl](https://www.dolibarr.org/forum/u/StefanVanZyl)\
**Replies:** 1\
**Last updated:** [November 25, 2020, 4:35pm UTC](https://www.dolibarr.org/forum/t/automatic-emailing-for-template-invoices/19838 "2020-11-25T16:35:13Z")

</div>

Hi there, I’m running Dolibarr 12.0.3 and want to set up a method for emailing my template invoices automatically once they are validated. At the moment I can’t find any functionality that does that, the closest being …

---

## [Problem running command shell job](https://www.dolibarr.org/forum/t/problem-running-command-shell-job/19689)

<div class="topic-metadata">

**Author:** [@danieles](https://www.dolibarr.org/forum/u/danieles)\
**Replies:** 0\
**Last updated:** [October 20, 2020, 3:27pm UTC](https://www.dolibarr.org/forum/t/problem-running-command-shell-job/19689 "2020-10-20T15:27:04Z")

</div>

Hi I can’t manage to let scheduled tasks work. Cron is running and I can see in the log my job started INFO\[2020-10-20T15:10:00Z\] cron\_run\_jobs.php cronjobid: 7 priority=1 entity=1 label=Backup Completo - not qualified…

---

## [File not found in cron\_run\_jobs.php](https://www.dolibarr.org/forum/t/file-not-found-in-cron-run-jobs-php/19688)

<div class="topic-metadata">

**Author:** [@danieles](https://www.dolibarr.org/forum/u/danieles)\
**Replies:** 2\
**Last updated:** [October 20, 2020, 3:15pm UTC](https://www.dolibarr.org/forum/t/file-not-found-in-cron-run-jobs-php/19688 "2020-10-20T15:15:00Z")

</div>

Hello. I’m using version 12.0.3. I’ve seen that in scripts/cron/cron\_run\_jobs.php, on line 45, there is a require\_once that points to …/…/\<master.inc.php\>. In my installation the file is in another location and the scri…

---

## [Scheduled jobs not running](https://www.dolibarr.org/forum/t/scheduled-jobs-not-running/19615)

<div class="topic-metadata">

**Author:** [@WagnerSys20](https://www.dolibarr.org/forum/u/WagnerSys20)\
**Replies:** 4\
**Last updated:** [October 8, 2020, 11:19am UTC](https://www.dolibarr.org/forum/t/scheduled-jobs-not-running/19615 "2020-10-08T11:19:51Z")

</div>

Hello, yes i used the search function first but only found this one wich dont fits in my problem https://www.dolibarr.org/forum/t/scheduled-jobs-not-running-automatically/18422 i cant get the scheduled jobs module runn…

---

## [Scheduled Jobs - securitykey is wrong](https://www.dolibarr.org/forum/t/scheduled-jobs-securitykey-is-wrong/16727)

<div class="topic-metadata">

**Author:** [@l3xpert](https://www.dolibarr.org/forum/u/l3xpert)\
**Replies:** 2\
**Last updated:** [August 10, 2020, 2:01am UTC](https://www.dolibarr.org/forum/t/scheduled-jobs-securitykey-is-wrong/16727 "2020-08-10T02:01:12Z")

</div>

I installed Dolibarr 7.0.1 on Ubuntu 18.04 LTS using Dolideb and default values. Everything seems to be running OK except for Scheduled Jobs. The local database backup fails to run. cron\_run\_jobs.php.log reads: \*\*\*\*\* cr…

---

## [Integration with Sello (offers wanted)](https://www.dolibarr.org/forum/t/integration-with-sello-offers-wanted/19250)

<div class="topic-metadata">

**Author:** [@egils](https://www.dolibarr.org/forum/u/egils)\
**Replies:** 4\
**Last updated:** [August 4, 2020, 11:57pm UTC](https://www.dolibarr.org/forum/t/integration-with-sello-offers-wanted/19250 "2020-08-04T23:57:22Z")

</div>

Hi! I would like to receive offers from developers integrating Sello and Dolibarr. (I use Dolibarr 9.0.1 but I can upgrade if it makes it easier/cheaper) Phase 1: load orders from Sello -\> Dolibarr. Automatically via…

---

## [How Install/Insert Script Code](https://www.dolibarr.org/forum/t/how-install-insert-script-code/19063)

<div class="topic-metadata">

**Author:** [@Gayiza](https://www.dolibarr.org/forum/u/Gayiza)\
**Replies:** 19\
**Last updated:** [May 30, 2020, 8:39am UTC](https://www.dolibarr.org/forum/t/how-install-insert-script-code/19063 "2020-05-30T08:39:21Z")

</div>

I have just come across this useful page of Dolibarr Scripts, but I do not know how to make use of these scripts on my Dolibarr installation. Do I create a new module and just copy and paste the code? This is the link…

[Next page](https://www.dolibarr.org/forum/tag/cron/48.md?match_all_tags=true&page=1&tags%5B%5D=Cron)
