Action Automation: Consistent Timing

By: Michael Clark | Asked: 06/20/2022
ForumsCategory: How-toAction Automation: Consistent Timing
Michael ClarkMichael Clark asked 2 years ago
How can I ensure an automated notification goes out at the same time of day on the set schedule (daily, weekly, monthly)? Currently, if I schedule an automated notification action, it goes out once at the correct time of day, and then at different times thereafter. I have a date field, a time field, and have tried to set it regardless of either. Ideally, I'd like to be able to set a time of day and have that repeat either daily, weekly, or monthly at that time. Thanks.
1 Answers
Bobby Clapp answered 2 years ago
So automation will only happen if you have a large user base and get visits all the time. If not, you will have to create a cron job (linux) or scheduled task (windows) and then run that against wp-cron.
Michael ClarkMichael Clark replied 2 years ago

Yeah, from the docs, it's not clear that form action automation won't work out-of-the-box. There's a *suggestion* that converting to native server cron is a way to ensure consistency, but if that's a requirement, that should be in the doc. Also, does disabling wp cron in wpconfig mean that form action automations are now default native crons or does a cron need to be created manually for each form action automation (thereby eliminating the "automation" part?). Not trying to be contrarian, and totally not hating on Formidable, because I love it. Just seeking some clarity on which way to go. Because If I have to create a native cron for each form entry, I'll have to set up a Zap or n8n workflow to do it automatically. Just need to know which way to go. Setting up an API in my server to map and make cron jobs is gonna require me to alter my release date a bit. Also adds a layer of complexity i was hoping to avoid. xP

Bobby Clapp replied 2 years ago

I don't disagree. I would create a cron job against wp-cron.php as that is kind of the house for everything that does automation. Hopefully that will do it for you.

Michael ClarkMichael Clark replied 2 years ago

Yep. I'm probably going to offload this to a cron service and use the Formidable API plugin to help automate it. The issue with this is I think that no matter which automation service I use, I'm going to have to have a meta workflow where it clones itself and then saves as a new version based on the parameters passed. It'll be fun, and mind numbingly fiddly. Especially with Zapier.: Form -> Webhook -> Zapier Scheduler -> Sendgrid or Twilio or both. That Zap can't just be run on the schedule, it has to be cloned to run for each form entry. Dunno if that's even possible.^^!

Michael ClarkMichael Clark replied 2 years ago

Actually, no can do with Zapier. Gotta make one with some other workflow automator.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right