Project

General

Profile

Actions

Evolution #1509

closed

cron system is not working when main PHP script is called at random frequency

Added by Simon about 1 year ago. Updated about 1 year ago.

Status:
Fermé
Priority:
Normal
Assignee:
Category:
general
Target version:
Start date:
10/02/2023
Due date:
% Done:

100%

Estimated time:
0.50 h
Resolution:

Description

For example, OVH call the script hourly with minute set randomly :
53 * * * *


Related issues 3 (0 open3 closed)

Related to Anomalie #1468: backup plugin not working with cron ? FerméSimon01/24/2023

Actions
Related to Evolution #1510: Backup plugin - ability to set minute via UIFerméSimon10/02/2023

Actions
Related to Evolution #1511: add explicit cron syntax in default cron fileFerméSimon10/02/2023

Actions
Actions #1

Updated by Simon about 1 year ago

  • Subject changed from cron system not working when main PHP script is called at random frequency to cron system is not working when main PHP script is called at random frequency
Actions #2

Updated by Simon about 1 year ago

In that case, copy / paste cron/1_default into cron/0_default file :

And adapt default content from :

@daily ../newsletter/send.php
@daily ../project/task-reminder.php
*/10 * * * * ../mail/process_queue.php

to :

53 2 * * * ../newsletter/send.php
53 8 * * * ../project/task-reminder.php
53 * * * * ../mail/process_queue.php
Actions #3

Updated by Simon about 1 year ago

  • Status changed from Nouveau to Fermé
  • Estimated time changed from 2.00 h to 0.50 h
Actions #4

Updated by Simon about 1 year ago

  • % Done changed from 0 to 100
Actions #5

Updated by Simon about 1 year ago

  • Related to Anomalie #1468: backup plugin not working with cron ? added
Actions #6

Updated by Simon about 1 year ago

  • Related to Evolution #1510: Backup plugin - ability to set minute via UI added
Actions #7

Updated by Simon about 1 year ago

  • Related to Evolution #1511: add explicit cron syntax in default cron file added
Actions

Also available in: Atom PDF