How to run cron run the moment after finishing previous one?

Created on 20 March 2023, about 2 years ago

Thank you for your great module.

I am using Ultimate cron for running tasks, I have FIFO queue of tasks (Scraping other web). One cron run finishes one task. One task can take from 2 to maximum 8 minutes to finish. I run cron in 10 minutes intervals. So often there is 8 minutes time when no task is running.

What is best way to run other task after finishing previous one? I would like to invoke other cron run the moment after finishing previous cron run. I have simple MYSQL table of tasks with IDs.

Thank You for advices.

🌱 Plan
Status

Active

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Markiz
  • Status changed to Fixed 5 months ago
  • 🇨🇭Switzerland berdir Switzerland

    If you want to run it continuously, you need to have a worker process that basically runs cron in a loop forever, maybe with a short sleep, this is now documented in the README.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024