This topic was automatically generated from Slack. You can find the original thread here.
Kyle Schiess : Say I want a single workflow to run at multiple hours throughout the day.
Would it be better to have multiple workflows that trigger at each hour, or one workflow that has a CRON argument running a main function at every hour?
Will I be running up limits with the second option?
Tod Sacerdoti : In general, the first option is preferred and we are moving towards a model where the metric that matters will be workflow invocations. So, the less invocations you have, the better from an avoiding limits perspective.
Dylan Sather (Pipedream) : I’d recommend using a single workflow, since cron syntax should be expressive enough to handle use cases where you need to run a workflow at only specific hours. You can comma-separate a list of hours, for example:
I’m not able to set my CRON triggers at all, it always defaults back to run on an hourly basis, which is a shame since I’m looking to have it fewer times over the day than every hour. It doesn’t matter what I select or the interval I set it always are saved as a run every hour… Bug or feature for Free Plan?
First off, welcome to the Pipedream community. Happy to have you!
Free accounts have the same functionality as paid plans, it’s just a difference in invocation limits.
Sounds like you’re hitting a bug.
Would it be possible for you to share the network request that’s being made from your browser the Pipedream GraphQL API at the time you try to update the timer? The “copy as cURL” output would be super helpful.
We’ve been unable to reproduce this bug with different browsers.
Thanks for your quick response!
I’m reproducing it still (I believe) and this is what I can get from my Chrome Inspector, I select something under the CRON selection like the screenshot below, and hit Continue…
Or is it here it goes wrong, maybe I should just leave it and not go to the configure view again, it seems to default back to the Custom interval set to 1 hour…
Many thanks, thats what I’ve done actually adding the latest try with all the network activity coming from hitting the Continue button after doing any change on the interval f.e.
Seems I’m getting no graphQL actions at all only the ones seen on the screenshot
However if I go to my list of workflows and hit the EDIT button for the Trigger on the selected workflow the following graphQL requests occurs in the inspector
Also some additional screenshot, after selecting CRON Expressions and hit the Test button…
Please note it still shows 3600s in the Exports steps.trigger > event > interval.seconds regardless of what I select as my CRON expression…
Unfortunately it does not create any graphQL requests at all… so I imagine this is where the problem originates… there are only several t?client=ui requests to api.pipedream.com/a
It makes sense, the graphql request is never made, so when you refresh the page the change is not reflected because it was never sent in the first place.
Updating our internal tracking with this information.
It has to be some kind of bug at the browser code level, the only workaround for now is to try another device/browser or maybe a new account.