Sebastian Hoitz
Sebastian Hoitz

Reputation: 9393

How to logically organize recurring tasks?

What's the best way to create recurring tasks?

Should I create some special syntax and parse it, kind of similar to Cronjobs on Linux or should I much rather just use a cronjob that runs every hour to create more of those recurring tasks with no end?

Keep in mind, that you can have endless recurring tasks and tasks with an enddate.

Upvotes: 1

Views: 631

Answers (2)

paxdiablo
paxdiablo

Reputation: 882466

My approach is always "minimum effort for maximum effect" (or best bang per buck).

If it can be done with cron, why not use cron? I'd consider it wasted effort to re-implement cron just for the fun of it so, unless you really need features that cron doesn't have, stick with it.

Upvotes: 1

Mads Hansen
Mads Hansen

Reputation: 66781

Quartz is an open source job scheduling system that uses cron expressions to control the periodicity of the job executions.

Upvotes: 1

Related Questions