BugBuster1701 / contao-cron-bundle

Contao 4/5 CRON Scheduler Bundle
GNU Lesser General Public License v3.0
2 stars 1 forks source link

AutoBackupDB triggered multiple times #44

Closed johannes-bittner closed 3 years ago

johannes-bittner commented 4 years ago

Describe the bug The script seems to trigger AutoBackupDB multiple times (varies)

Affected version(s)

To Reproduce Steps to reproduce the behavior:

  1. Job defined as URL [e.g. https://www.domain.de/BackupDB/autobackup?mysecretparameter]
  2. Hour 2, minute/day/month/weekday *, time limit 5 sec
  3. Mailing of the backup is activated
  4. On first logon of the day, I receive between 2-10 mails/backups

Expected behavior Only one mailing

BugBuster1701 commented 3 years ago

Is it possible that the backup takes longer than 5 seconds? Then it is defined as "not finished" and restarted on the next page request.

johannes-bittner commented 3 years ago

Yes, I tried this - setting a higher timeout solves the issue.