Pretty much say my user has a workflow like: - `Search for new concerts in Rome and email me if tic

Pretty much say my user has a workflow like:

  • Search for new concerts in Rome and email me if tickets are less than 50$
    • run it every 6 hours
My current system works like this: I have a single CRON which runs every minute, queries the DB for pending jobs and runs them. This works but is not really scalable. I'm thinking how I could setup a system where the user defined cron interval would be the trigger. i.e. when the user saves the workflow I create a new cron/alter/workflow/whatever which takes care of this one.
Was this page helpful?