Hi there, this is the official changelog page of FastCron.

Jul 13, 2023 fastcron.com

Updote makes it easy to share updates, changelog, news, links, and code with your team and users.

Sign up Log in

Suggestion – Repeat Cronjob o...

Suggestion – Repeat Cronjob on success

Some of my cronjobs is set to run 20 times with a short interval of time like 20 sec. The cronjob updates some parameters in the database based on user behaviour. But sometimes the cron only needs to repeat 3 or 4 times at other times maybe 18 or 20 times.

So instead of setting a very high number of times the cron needs to run (using crontab with short intervals) it could be an idea to have a repeat-section (like the Failures and retry-section).

In this repeat section you could have a text field ‘Repeat if contains’ and also a repeat-after-field where number of seconds could be set e.g. 20, 30 or 60 seconds

As long as the return-text contains the given text the cronjob will repeat itself.

In this way I only have to set the cronjob to run once and the it will repeat itself as many times as necessary witch might be 4 or 20

This will reduce load on all servers and will be more effective than just setting a high number of unnecessary repeats using crontab-settings.

prebeng · 6w · 183

Please sign up or log in to comment.