Run function after a post has finished saving – callback function perhaps?
If you don’t have control over the API, you’re doing it almost right. That is what cron jobs are for. What needs to be avoided is possible overlapping API calls that do the same thing. Why not instead have a meta field automation_operation_status that stores the … status? Like pending, running, complete, error. Then, in … Read more